summaryrefslogtreecommitdiff
path: root/package/id3lib/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-22 19:29:20 +0200
commitd279b5d1fe744cac44da7cd1b51f9ba6a2cc4647 (patch)
treebf575aca8f9ce9cf088ce3aee992fc846cd6e130 /package/id3lib/Makefile
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/id3lib/Makefile')
-rw-r--r--package/id3lib/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/id3lib/Makefile b/package/id3lib/Makefile
index bcff710b1..2cd452176 100644
--- a/package/id3lib/Makefile
+++ b/package/id3lib/Makefile
@@ -15,15 +15,19 @@ PKG_URL:= http://id3lib.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=id3lib/}
PKG_NEED_CXX:= 1
PKG_CXX:= ID3LIB
+PKG_OPTS:= dev
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,ID3LIB,id3lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,ID3LIB,id3lib,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
TARGET_CFLAGS+= -fPIC
CONFIGURE_ARGS+= --enable-cxx-warnings=no
+ifeq ($(ADK_COMPILE_ID3LIB_WITH_UCLIBCXX),y)
LIBRARIES:=-nodefaultlibs -luClibc++ -lz -lm -lc -lgcc
+endif
+
ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
LIBRARIES+=-lssp -fstack-protector
endif
@@ -36,7 +40,7 @@ else
TARGET_LDFLAGS+= -shared
endif
-post-install:
+id3lib-install:
${INSTALL_DIR} ${IDIR_ID3LIB}/usr/lib
${CP} ${WRKINST}/usr/lib/libid3-*.so* ${IDIR_ID3LIB}/usr/lib/