summaryrefslogtreecommitdiff
path: root/package/sqlite
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 18:39:07 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 18:39:07 (GMT)
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/sqlite
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/sqlite')
-rw-r--r--package/sqlite/Makefile11
-rw-r--r--package/sqlite/ipkg/libsqlite.control4
-rw-r--r--package/sqlite/ipkg/sqlite-cli.control5
3 files changed, 7 insertions, 13 deletions
diff --git a/package/sqlite/Makefile b/package/sqlite/Makefile
index bf73504..8f5ff91 100644
--- a/package/sqlite/Makefile
+++ b/package/sqlite/Makefile
@@ -9,16 +9,19 @@ PKG_NAME:= sqlite
PKG_VERSION:= 3.6.2
PKG_RELEASE:= 1
PKG_MD5SUM:= 46f92e42243bc51aaa3871645ce78bd5
-MASTER_SITES:= http://www.sqlite.org/
+PKG_DESCR:= Self-contained, embeddable, zero-configuration SQL database engine
+PKG_SECTION:= libs
+PKG_URL:= http://www.sqlite.org
+PKG_SITES:= http://www.sqlite.org/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,LIBSQLITE,libsqlite,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,SQLITE_CLI,sqlite-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= config_BUILD_CC="${HOSTCC}" \
- config_BUILD_CFLAGS="-O2" \
+ config_BUILD_CFLAGS="${HOSTCFLAGS}" \
config_TARGET_CC="${TARGET_CC}" \
config_TARGET_CFLAGS="${TARGET_CFLAGS}" \
config_TARGET_READLINE_INC="-I${STAGING_DIR}/usr/include" \
diff --git a/package/sqlite/ipkg/libsqlite.control b/package/sqlite/ipkg/libsqlite.control
deleted file mode 100644
index 4b19270..0000000
--- a/package/sqlite/ipkg/libsqlite.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: libsqlite
-Priority: optional
-Section: libs
-Description: Self-contained, embeddable, zero-configuration SQL database engine
diff --git a/package/sqlite/ipkg/sqlite-cli.control b/package/sqlite/ipkg/sqlite-cli.control
deleted file mode 100644
index b70c9cf..0000000
--- a/package/sqlite/ipkg/sqlite-cli.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: sqlite-cli
-Priority: optional
-Section: libs
-Description: Command Line Interface (CLI) for SQLite
-Depends: libsqlite, libncurses, libreadline