summaryrefslogtreecommitdiff
path: root/package/lame/Makefile
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
committerwbx <wbx@openadk.org>2011-04-08 12:37:48 +0200
commit34fc06736330cc993fd1c936ed9205cdc73aa0fd (patch)
tree42319fe9aa25f82370948335d6dccd571da945d6 /package/lame/Makefile
parent6ea415c59b9ced9d08be7348d268ae4543017a56 (diff)
parent297e4004d154572e29ee71f8ed852b022686e852 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/lame/Makefile')
-rw-r--r--package/lame/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/lame/Makefile b/package/lame/Makefile
index 4f18aa165..f0a17f483 100644
--- a/package/lame/Makefile
+++ b/package/lame/Makefile
@@ -19,12 +19,16 @@ PKGSC_LIBLAME:= libs
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LAME,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBLAME,liblame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBLAME},${PKGSC_LIBLAME}))
-post-install:
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
+
+lame-install:
$(INSTALL_DIR) $(IDIR_LAME)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin/
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
+
+liblame-install:
$(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBLAME)/usr/lib