1
0

Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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:= sound
  10. PKG_DEPENDS:= libncurses
  11. PKG_URL:= http://lame.sourceforge.net
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
  13. PKG_DESCR_1:= LAME MP3 encoding library
  14. PKG_SECTION_1:= libs
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBLAME,liblame,$(PKG_VERSION)-${PKG_RELEASE},,${PKG_DESCR_1},${PKG_SECTION_1}))
  18. CONFIGURE_STYLE= gnu
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto
  21. post-install:
  22. $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
  23. $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin/
  24. $(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/lib*.so* $(IDIR_LIBLAME)/usr/lib
  26. include ${TOPDIR}/mk/pkg-bottom.mk