1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include $(TOPDIR)/rules.mk
PKG_NAME:= lame
PKG_VERSION:= 3.98.4
PKG_RELEASE:= 1
PKG_MD5SUM:= 8e9866ad6b570c6c95c8cba48060473f
PKG_DESCR:= LAME MP3 encoder
PKG_SECTION:= multimedia
PKG_DEPENDS:= libncurses
PKG_BUILDDEP:= ncurses
PKG_URL:= http://lame.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
PKG_LIBNAME:= libmp3lame
PKG_OPTS:= dev
PKG_SUBPKGS:= LAME LIBMP3LAME
PKGSD_LIBMP3LAME:= LAME MP3 encoding library
PKGSC_LIBMP3LAME:= libs
ifeq ($(ADK_STATIC),y)
PKG_OPTS+= libmix
endif
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LAME,lame,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBMP3LAME,libmp3lame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBMP3LAME},${PKGSC_LIBMP3LAME},${PKG_OPTS}))
TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
lame-install:
$(INSTALL_DIR) $(IDIR_LAME)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin
libmp3lame-install:
$(INSTALL_DIR) $(IDIR_LIBMP3LAME)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBMP3LAME)/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk
|