Makefile 1009 B

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