made kdrive a menuconfig option for an alternative build of xserver
[openwrt/svn-archive/archive.git] / lang / pysqlite / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=pysqlite
12 PKG_VERSION:=2.3.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://initd.org/pub/software/pysqlite/releases/2.3/2.3.5/
17 PKG_MD5SUM:=b4a185e936848370fcc1a5b17755b641
18
19 include $(INCLUDE_DIR)/package.mk
20 include ../python/python-package.mk
21
22 define PyPackage/pysqlite
23 TITLE:=SQLite database adapter
24 URL=http://www.initd.org/tracker/pysqlite/wiki/pysqlite
25 DEPENDS+= +libsqlite3
26 endef
27
28 define PyPackage/pysqlite/description
29 This package contains an SQLite database adapter for the Python
30 programming language.
31 endef
32
33 define PyPackage/pysqlite/filespec
34 +|$(PYTHON_PKG_DIR)/pysqlite2
35 -|$(PYTHON_PKG_DIR)/pysqlite2/test
36 endef
37
38 define Build/Compile
39 $(call Build/Compile/PyMod,., \
40 install --prefix="$(PKG_INSTALL_DIR)/usr", \
41 )
42 endef
43
44 $(eval $(call PyPackage,pysqlite))