summaryrefslogtreecommitdiff
path: root/package/alsa-lib
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/alsa-lib
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/alsa-lib')
-rw-r--r--package/alsa-lib/Makefile11
-rw-r--r--package/alsa-lib/files/alsa-lib.postinst (renamed from package/alsa-lib/ipkg/alsa-lib.postinst)0
-rw-r--r--package/alsa-lib/ipkg/alsa-lib.control4
3 files changed, 7 insertions, 8 deletions
diff --git a/package/alsa-lib/Makefile b/package/alsa-lib/Makefile
index e57470e40..4c82c6419 100644
--- a/package/alsa-lib/Makefile
+++ b/package/alsa-lib/Makefile
@@ -9,13 +9,17 @@ PKG_NAME:= alsa-lib
PKG_VERSION:= 1.0.19
PKG_RELEASE:= 1
PKG_MD5SUM:= 73db3666c211e5fb023bb77450cf430d
-MASTER_SITES:= ftp://ftp.task.gda.pl/pub/linux/misc/alsa/lib/ \
+PKG_DESCR:= ALSA sound library
+PKG_SECTION:= libs
+PKG_URL:= http://www.alsa-project.org
+PKG_SITES:= ftp://ftp.task.gda.pl/pub/linux/misc/alsa/lib/ \
ftp://ftp.alsa-project.org/pub/lib/
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,ALSA_LIB,alsa-lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-python
@@ -23,8 +27,7 @@ BUILD_STYLE= auto
INSTALL_STYLE= auto confprog
post-install:
- ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib
- ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/share/alsa
+ ${INSTALL_DIR} ${IDIR_ALSA_LIB}/usr/lib ${IDIR_ALSA_LIB}/usr/share/alsa
${CP} ${WRKINST}/usr/lib/libasound.so.* ${IDIR_ALSA_LIB}/usr/lib/
${CP} ${WRKINST}/usr/share/alsa/* ${IDIR_ALSA_LIB}/usr/share/alsa/
diff --git a/package/alsa-lib/ipkg/alsa-lib.postinst b/package/alsa-lib/files/alsa-lib.postinst
index 848959231..848959231 100644
--- a/package/alsa-lib/ipkg/alsa-lib.postinst
+++ b/package/alsa-lib/files/alsa-lib.postinst
diff --git a/package/alsa-lib/ipkg/alsa-lib.control b/package/alsa-lib/ipkg/alsa-lib.control
deleted file mode 100644
index 480bb0dae..000000000
--- a/package/alsa-lib/ipkg/alsa-lib.control
+++ /dev/null
@@ -1,4 +0,0 @@
-Package: alsa-lib
-Priority: optional
-Section: libs
-Description: ALSA sound library