summaryrefslogtreecommitdiff
path: root/package/faad2/Makefile
diff options
context:
space:
mode:
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/