1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= 3.99
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7abacd1d0a65a63733335786015626db
  8. PKG_DESCR:= MP3 encoder
  9. PKG_SECTION:= multimedia
  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
  20. ifeq ($(ADK_STATIC),y)
  21. PKG_OPTS+= libmix
  22. endif
  23. include $(TOPDIR)/mk/package.mk
  24. $(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. $(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
  26. TARGET_LDFLAGS+= -ltinfo
  27. lame-install:
  28. $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
  29. $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
  30. libmp3lame-install:
  31. $(INSTALL_DIR) $(IDIR_LIBMP3LAME)/usr/lib
  32. $(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBMP3LAME)/usr/lib
  33. include ${TOPDIR}/mk/pkg-bottom.mk