1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= lame
  5. PKG_VERSION:= 398-2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 719dae0ee675d0c16e0e89952930ed35
  8. PKG_DESCR:= LAME MP3 encoder
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libncurses
  11. PKG_URL:= http://lame.sourceforge.net/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
  13. PKG_SUBPKGS:= LAME LIBLAME
  14. PKGSD_LIBLAME:= LAME MP3 encoding library
  15. PKGSC_LIBLAME:= libs
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBLAME,liblame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBLAME},${PKGSC_LIBLAME}))
  19. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  20. lame-install:
  21. $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
  23. liblame-install:
  24. $(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBLAME)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk