summaryrefslogtreecommitdiff
path: root/package/faad2/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/faad2/Makefile
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/faad2/Makefile')
-rw-r--r--package/faad2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/faad2/Makefile b/package/faad2/Makefile
index 9d2be1fe8..611f5ed9a 100644
--- a/package/faad2/Makefile
+++ b/package/faad2/Makefile
@@ -11,12 +11,12 @@ PKG_DESCR:= A MP4 decoding library
PKG_SECTION:= libs
PKG_URL:= http://sourceforge.net/projects/faac/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=faac/}
-
-PKG_SUBPKGS:= LIBFAAD2
+PKG_LIBNAME:= libfaad2
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
# check for lrintf fails on Darwin, don't know why
@@ -25,7 +25,7 @@ CONFIGURE_ARGS+= --without-mpeg4ip \
--without-xmms
TARGET_LDFLAGS+= -lm
-post-install:
+libfaad2-install:
${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/