summaryrefslogtreecommitdiff
path: root/package/lame/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:21:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-03-31 20:21:13 +0200
commitf4e50548b0d41f5b4e6faae3ddc7283dd1a5dd6c (patch)
tree50b3bae39301c2ef89bbbabdb843a62d679e034e /package/lame/Makefile
parentc2bd3a43342e37a05a97e12581dd2bd52993877a (diff)
I am to tupid for git, today.
Revert "Revert "fix conflict, autoseect libgcj"" This reverts commit c2bd3a43342e37a05a97e12581dd2bd52993877a.
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