2 # Copyright (C) 2007-2016 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
62 define Package
/lame
/install
63 $(INSTALL_DIR
) $(1)/usr
/bin
64 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/lame
$(1)/usr
/bin
/
67 define Package
/lame-lib
/install
68 $(INSTALL_DIR
) $(1)/usr
/lib
69 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*so
* $(1)/usr
/lib
/
72 define Build
/InstallDev
73 $(INSTALL_DIR
) $(1)/usr
/include/lame
75 $(PKG_INSTALL_DIR
)/usr
/include/lame
/*.h \
76 $(1)/usr
/include/lame
/
77 $(INSTALL_DIR
) $(1)/usr
/lib
79 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*} \
83 $(eval
$(call BuildPackage
,lame-lib
))
84 $(eval
$(call BuildPackage
,lame
))