2 # Copyright (C) 2007-2008 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/lame
16 PKG_MD5SUM
:=719dae0ee675d0c16e0e89952930ed35
19 include $(INCLUDE_DIR
)/package.mk
23 define Package
/lame
/Default
26 URL
:=http
://sourceforge.net
/projects
/lame
27 DEPENDS
:=@BUILD_PATENTED
31 $(call Package
/lame
/Default
)
36 define Package
/lame
/description
40 define Package
/lame-lib
41 $(call Package
/lame
/Default
)
45 define Package
/lame-lib
/description
49 define Build
/Configure
50 $(call Build
/Configure
/Default
, \
56 define Package
/lame
/install
57 $(INSTALL_DIR
) $(1)/usr
/bin
58 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/lame
$(1)/usr
/bin
/
61 define Package
/lame-lib
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
63 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*so
* $(1)/usr
/lib
/
66 define Build
/InstallDev
67 $(INSTALL_DIR
) $(1)/usr
/include/lame
69 $(PKG_INSTALL_DIR
)/usr
/include/lame
/*.h \
70 $(1)/usr
/include/lame
/
71 $(INSTALL_DIR
) $(1)/usr
/lib
73 $(PKG_INSTALL_DIR
)/usr
/lib
/*.
{la
,so
*} \
77 $(eval
$(call BuildPackage
,lame-lib
))
78 $(eval
$(call BuildPackage
,lame
))