1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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,${PKG_NAME},$(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. post-install:
  20. $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
  21. $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin/
  22. $(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBLAME)/usr/lib
  24. include ${TOPDIR}/mk/pkg-bottom.mk