summaryrefslogtreecommitdiff
path: root/package/lame
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/lame
parent32a82e38679501da738199135b35f93ddc8aca0a (diff)
fix libmix packages, while checking all packages make some style cleanup
Diffstat (limited to 'package/lame')
-rw-r--r--package/lame/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/lame/Makefile b/package/lame/Makefile
index a7549770c..1e0a086b1 100644
--- a/package/lame/Makefile
+++ b/package/lame/Makefile
@@ -10,17 +10,24 @@ PKG_MD5SUM:= 8e9866ad6b570c6c95c8cba48060473f
PKG_DESCR:= LAME MP3 encoder
PKG_SECTION:= multimedia
PKG_DEPENDS:= libncurses
+PKG_BUILDDEP:= ncurses
PKG_URL:= http://lame.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
+PKG_LIBNAME:= libmp3lame
+PKG_OPTS:= dev
PKG_SUBPKGS:= LAME LIBMP3LAME
PKGSD_LIBMP3LAME:= LAME MP3 encoding library
PKGSC_LIBMP3LAME:= libs
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS+= libmix
+endif
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME}))
+$(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))