uClibc-ng: update to 1.0.51
[openadk.git] / package / lame / Makefile
blob40474a7d3e1e789afe355405f494e07f3cf9b462
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
6 PKG_NAME:= lame
7 PKG_VERSION:= 3.100
8 PKG_RELEASE:= 1
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
17 PKG_OPTS:= dev
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)
32 TARGET_CFLAGS+= -msse
33 endif
35 lame-install:
36 $(INSTALL_DIR) $(IDIR_LAME)/usr/bin
37 $(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
39 libmp3lame-install:
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