From 256f2934b4e84c07019db0852ae69608b3e01a35 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 28 Aug 2007 13:32:46 +0000 Subject: [PATCH] Add pysqlite (#2214) git-svn-id: svn://svn.openwrt.org/openwrt/packages@8527 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/pysqlite/Makefile | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 libs/pysqlite/Makefile diff --git a/libs/pysqlite/Makefile b/libs/pysqlite/Makefile new file mode 100644 index 000000000..5d14324f0 --- /dev/null +++ b/libs/pysqlite/Makefile @@ -0,0 +1,35 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=pysqlite +PKG_VERSION:=2.3.5 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://initd.org/pub/software/pysqlite/releases/2.3/2.3.5/ +PKG_MD5SUM:=b4a185e936848370fcc1a5b17755b641 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/pysqlite + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libsqlite3 +python + TITLE:=Pysqlite + DESCRIPTION:=\ + pysqlite is a sqlite database adapter for the Python programming language. + URL=http://www.initd.org/tracker/pysqlite/wiki/pysqlite +endef + +define Build/Compile + $(call Build/Compile/PyMod,,install) +endef + +define Package/pysqlite/install + $(CP) -R $(PKG_INSTALL_DIR)/* $(1) +endef + +$(eval $(call BuildPackage,pysqlite))