2 # Copyright (C) 2009-2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/libdbi
16 PKG_MD5SUM:=ca66db78d479cbfa727cf3245b5864ae
21 include $(INCLUDE_DIR)/package.mk
28 URL:=http://libdbi.sourceforge.net/
31 define Package/libdbi/description
32 libdbi implements a database-independent abstraction layer in C.
35 define Build/InstallDev
36 $(INSTALL_DIR) $(1)/usr/include
37 $(CP) $(PKG_INSTALL_DIR)/usr/include/dbi $(1)/usr/include/
38 $(INSTALL_DIR) $(1)/usr/lib
39 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbi.{a,so*} $(1)/usr/lib/
42 define Package/libdbi/install
43 $(INSTALL_DIR) $(1)/usr/lib
44 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdbi.so.* $(1)/usr/lib/
47 $(eval $(call BuildPackage,libdbi))