1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e
10 PKG_DESCR
:= mp3 encoder
11 PKG_SECTION
:= mm
/audio
12 PKG_DEPENDS
:= libncurses
13 PKG_BUILDDEP
:= ncurses
14 PKG_URL
:= http
://lame.sourceforge.net
/
15 PKG_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=lame
/}
16 PKG_LIBNAME
:= libmp3lame
19 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
21 PKG_SUBPKGS
:= LAME LIBMP3LAME
22 PKGSD_LIBMP3LAME
:= mp3 encoding library
23 PKGSC_LIBMP3LAME
:= libs
/audio
25 include $(ADK_TOPDIR
)/mk
/package.mk
27 $(eval
$(call PKG_template
,LAME
,lame
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
28 $(eval
$(call PKG_template
,LIBMP3LAME
,libmp3lame
,$(PKG_VERSION
)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
30 TARGET_LDFLAGS
+= -ltinfo
31 ifeq ($(ADK_TARGET_ARCH_X86
),y
)
36 $(INSTALL_DIR
) $(IDIR_LAME
)/usr
/bin
37 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/lame
$(IDIR_LAME
)/usr
/bin
40 $(INSTALL_DIR
) $(IDIR_LIBMP3LAME
)/usr
/lib
41 $(CP
) $(WRKINST
)/usr
/lib
/libmp3lame.so
* $(IDIR_LIBMP3LAME
)/usr
/lib
43 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk