Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= lame
  5. PKG_VERSION:= 3.99
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= d71d804c25cac69592939865033787849cef52b6c9b783ed31ea8dcebeadbbba
  8. PKG_DESCR:= mp3 encoder
  9. PKG_SECTION:= mm/audio
  10. PKG_DEPENDS:= libncurses
  11. PKG_BUILDDEP:= ncurses
  12. PKG_URL:= http://lame.sourceforge.net/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
  14. PKG_LIBNAME:= libmp3lame
  15. PKG_OPTS:= dev
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  17. PKG_SUBPKGS:= LAME LIBMP3LAME
  18. PKGSD_LIBMP3LAME:= mp3 encoding library
  19. PKGSC_LIBMP3LAME:= libs/audio
  20. include $(ADK_TOPDIR)/mk/package.mk
  21. $(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. $(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
  23. TARGET_LDFLAGS+= -ltinfo
  24. lame-install:
  25. $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
  27. libmp3lame-install:
  28. $(INSTALL_DIR) $(IDIR_LIBMP3LAME)/usr/lib
  29. $(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBMP3LAME)/usr/lib
  30. include ${ADK_TOPDIR}/mk/pkg-bottom.mk