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_HASH
:=24346b4158e4af3bd9f2e194bb23eb473c75fb7377011523353196b19b9a23ff
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
36 $(call Package
/lame
/Default
)
39 DEPENDS
+= +libncurses
42 define Package
/lame
/description
46 define Package
/lame-lib
47 $(call Package
/lame
/Default
)
51 define Package
/lame-lib
/description
61 define Package
/lame
/install
62 $(INSTALL_DIR
) $(1)/usr
/bin
63 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/lame
$(1)/usr
/bin
/
66 define Package
/lame-lib
/install
67 $(INSTALL_DIR
) $(1)/usr
/lib
68 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*so
* $(1)/usr
/lib
/
71 define Build
/InstallDev
72 $(INSTALL_DIR
) $(1)/usr
/include/lame
74 $(PKG_INSTALL_DIR
)/usr
/include/lame
/*.h \
75 $(1)/usr
/include/lame
/
76 $(INSTALL_DIR
) $(1)/usr
/lib
78 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*} \
82 $(eval
$(call BuildPackage
,lame-lib
))
83 $(eval
$(call BuildPackage
,lame
))