summaryrefslogtreecommitdiff
path: root/package/glib2
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/glib2
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/glib2')
-rw-r--r--package/glib2/Makefile17
-rw-r--r--package/glib2/ipkg/glib2.control5
2 files changed, 11 insertions, 11 deletions
diff --git a/package/glib2/Makefile b/package/glib2/Makefile
index 424d40344..2745ec1c3 100644
--- a/package/glib2/Makefile
+++ b/package/glib2/Makefile
@@ -5,17 +5,22 @@
include ${TOPDIR}/rules.mk
-PKG_NAME= glib2
-PKG_VERSION= 2.18.1
-PKG_RELEASE= 1
-PKG_MD5SUM= d53836f7fdd9970d03e255e9d712bd83
+PKG_NAME:= glib2
+PKG_VERSION:= 2.18.1
+PKG_RELEASE:= 1
+PKG_MD5SUM:= d53836f7fdd9970d03e255e9d712bd83
+PKG_DESCR:= low-level core library that forms the basis of GTK+
+PKG_SECTION:= libs
+PKG_DEPENDS:= gettext libiconv libpthread
+PKG_URL:= http://www.gtk.org/
+PKG_SITES:= ftp://ftp.gtk.org/pub/glib/2.18/
+
DISTFILES= glib-${PKG_VERSION}.tar.gz
WRKDIST= ${WRKDIR}/glib-${PKG_VERSION}
-MASTER_SITES= ftp://ftp.gtk.org/pub/glib/2.18/
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,GLIB2,glib2,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,GLIB2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TCPPFLAGS+= -I'${STAGING_DIR}/usr/include'
CONFIGURE_STYLE= gnu
diff --git a/package/glib2/ipkg/glib2.control b/package/glib2/ipkg/glib2.control
deleted file mode 100644
index c3dbc208b..000000000
--- a/package/glib2/ipkg/glib2.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: glib2
-Priority: optional
-Section: libs
-Description: some broken toolkit
-Depends: gettext, libiconv, libpthread