From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/postgresql/Makefile | 8 +++++--- package/postgresql/ipkg/libpq.control | 4 ---- package/postgresql/ipkg/pgsql-cli.control | 5 ----- 3 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 package/postgresql/ipkg/libpq.control delete mode 100644 package/postgresql/ipkg/pgsql-cli.control (limited to 'package/postgresql') diff --git a/package/postgresql/Makefile b/package/postgresql/Makefile index 2ec836bf6..05929cbbd 100644 --- a/package/postgresql/Makefile +++ b/package/postgresql/Makefile @@ -9,15 +9,17 @@ PKG_NAME:= postgresql PKG_VERSION:= 8.3.7 PKG_RELEASE:= 1 PKG_MD5SUM:= 6e36f3b4dd27ae0c352376ea9f843de2 - -MASTER_SITES:= ftp://ftp7.de.postgresql.org/pub/ftp.postgresql.org/source/v${PKG_VERSION}/ \ +PKG_DESCR:= PostgreSQL database library +PKG_SECTION:= libs +PKG_URL:= http://www.postgresql.org +PKG_SITES:= ftp://ftp7.de.postgresql.org/pub/ftp.postgresql.org/source/v${PKG_VERSION}/ \ ftp://ftp8.de.postgresql.org/pub/ftp.postgresql.org/source/v${PKG_VERSION}/ \ ftp://ftp.be.postgresql.org/pub/postgresql/source/v${PKG_VERSION}/ \ ftp://ftp.tw.postgresql.org/pub/postgresql/source/v${PKG_VERSION}/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,LIBPQ,libpq,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,LIBPQ,libpq,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu PKG_CONFIGURE_ARGS:=\ diff --git a/package/postgresql/ipkg/libpq.control b/package/postgresql/ipkg/libpq.control deleted file mode 100644 index ff669c6cb..000000000 --- a/package/postgresql/ipkg/libpq.control +++ /dev/null @@ -1,4 +0,0 @@ -Package: libpq -Priority: optional -Section: libs -Description: PostgreSQL client library diff --git a/package/postgresql/ipkg/pgsql-cli.control b/package/postgresql/ipkg/pgsql-cli.control deleted file mode 100644 index 4ce03e45c..000000000 --- a/package/postgresql/ipkg/pgsql-cli.control +++ /dev/null @@ -1,5 +0,0 @@ -Package: pgsql-cli -Priority: optional -Section: libs -Description: Command Line Interface (CLI) to PostgreSQL databases -Depends: libpq -- cgit v1.2.3