blob: 4f18aa16539ecceb7ba5cd2de4b917451d1f54b4 (
plain)
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
|
# 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:= 398-2
PKG_RELEASE:= 1
PKG_MD5SUM:= 719dae0ee675d0c16e0e89952930ed35
PKG_DESCR:= LAME MP3 encoder
PKG_SECTION:= multimedia
PKG_DEPENDS:= libncurses
PKG_URL:= http://lame.sourceforge.net/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=lame/}
PKG_SUBPKGS:= LAME LIBLAME
PKGSD_LIBLAME:= LAME MP3 encoding library
PKGSC_LIBLAME:= libs
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LAME,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBLAME,liblame,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_LIBLAME},${PKGSC_LIBLAME}))
post-install:
$(INSTALL_DIR) $(IDIR_LAME)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/lame $(IDIR_LAME)/usr/bin/
$(INSTALL_DIR) $(IDIR_LIBLAME)/usr/lib
$(CP) $(WRKINST)/usr/lib/libmp3lame.so* $(IDIR_LIBLAME)/usr/lib
include ${TOPDIR}/mk/pkg-bottom.mk
|