summaryrefslogtreecommitdiff
path: root/package/libmad/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libmad/Makefile')
-rw-r--r--package/libmad/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/package/libmad/Makefile b/package/libmad/Makefile
index eed9882bc..13983d186 100644
--- a/package/libmad/Makefile
+++ b/package/libmad/Makefile
@@ -5,21 +5,17 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libmad
PKG_VERSION:= 0.15.1b
-PKG_RELEASE:= 4
+PKG_RELEASE:= 5
PKG_MD5SUM:= 1be543bc30c56fb6bea1d7bf6a64e66c
PKG_DESCR:= An high-quality MPEG audio decoding library
PKG_SECTION:= libs
PKG_URL:= http://sourceforge.net/projects/mad
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/}
-
-PKG_SUBPKGS:= LIBMAD LIBMAD_DEV
-PKGSD_LIBMAD_DEV:= development files for libmad
-PKGSC_LIBMAD_DEV:= devel
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBMAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBMAD_DEV,libmad-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBMAD_DEV},${PKGSC_LIBMAD_DEV}))
+$(eval $(call PKG_template,LIBMAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
FPM:=default
ifeq (${ARCH},i386)
@@ -53,8 +49,4 @@ libmad-install:
${INSTALL_DIR} ${IDIR_LIBMAD}/usr/lib
${CP} ${WRKINST}/usr/lib/libmad.so* ${IDIR_LIBMAD}/usr/lib/
-libmad-dev-install:
- ${INSTALL_DIR} ${IDIR_LIBMAD_DEV}/usr/include
- ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBMAD_DEV}/usr/include/
-
include ${TOPDIR}/mk/pkg-bottom.mk