2 # Copyright (C) 2007-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/lame
17 PKG_MD5SUM
:=84835b313d4a8b68f5349816d33e07ce
20 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
23 PKG_LICENSE_FILES
:=COPYING LICENSE
25 include $(INCLUDE_DIR
)/package.mk
29 define Package
/lame
/Default
32 URL
:=http
://sourceforge.net
/projects
/lame
33 DEPENDS
:=@BUILD_PATENTED
37 $(call Package
/lame
/Default
)
40 DEPENDS
+= +libncurses
43 define Package
/lame
/description
47 define Package
/lame-lib
48 $(call Package
/lame
/Default
)
52 define Package
/lame-lib
/description
56 define Build
/Configure
57 $(call Build
/Configure
/Default
, \
63 define Package
/lame
/install
64 $(INSTALL_DIR
) $(1)/usr
/bin
65 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/lame
$(1)/usr
/bin
/
68 define Package
/lame-lib
/install
69 $(INSTALL_DIR
) $(1)/usr
/lib
70 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*so
* $(1)/usr
/lib
/
73 define Build
/InstallDev
74 $(INSTALL_DIR
) $(1)/usr
/include/lame
76 $(PKG_INSTALL_DIR
)/usr
/include/lame
/*.h \
77 $(1)/usr
/include/lame
/
78 $(INSTALL_DIR
) $(1)/usr
/lib
80 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*} \
84 $(eval
$(call BuildPackage
,lame-lib
))
85 $(eval
$(call BuildPackage
,lame
))