source: packages/sound/lame/Makefile @ 18796

Last change on this file since 18796 was 18796, checked in by florian, 6 years ago

[package] lame-lib does not depend on lame (#6366)

  • Property copyright set to Copyright (C) 2007-2008 OpenWrt.org
  • Property licence set to GPLv2
  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1#
2# Copyright (C) 2007-2008 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# blogic@openwrt.org
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=lame
12PKG_VERSION:=398-2
13PKG_RELEASE:=3
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@SF/lame
16PKG_MD5SUM:=719dae0ee675d0c16e0e89952930ed35
17PKG_FIXUP:=libtool
18
19include $(INCLUDE_DIR)/package.mk
20
21PKG_INSTALL=1
22
23define Package/lame/Default
24  SECTION:=sound
25  CATEGORY:=Sound
26  URL:=http://sourceforge.net/projects/lame
27endef
28
29define Package/lame
30$(call Package/lame/Default)
31  TITLE:=lame
32  MENU:=1
33endef
34
35define Package/lame/description
36lame mp3 encoder
37endef
38
39define Package/lame-lib
40$(call Package/lame/Default)
41  TITLE:=lame-lib
42endef
43
44define Package/lame-lib/description
45lame mp3 encoder libs
46endef
47
48define Build/Configure
49        $(call Build/Configure/Default, \
50        --disable-nasm \
51        )
52endef
53
54
55define Package/lame/install
56        $(INSTALL_DIR) $(1)/usr/bin
57        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lame $(1)/usr/bin/
58endef
59
60define Package/lame-lib/install
61        $(INSTALL_DIR) $(1)/usr/lib
62        $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*so* $(1)/usr/lib/
63endef
64
65define Build/InstallDev
66        $(INSTALL_DIR) $(1)/usr/include/lame
67        $(INSTALL_DATA) \
68                $(PKG_INSTALL_DIR)/usr/include/lame/*.h \
69                $(1)/usr/include/lame/
70        $(INSTALL_DIR) $(1)/usr/lib
71        $(CP) \
72                $(PKG_INSTALL_DIR)/usr/lib/*.{la,so*} \
73                $(1)/usr/lib/
74endef
75
76$(eval $(call BuildPackage,lame-lib))
77$(eval $(call BuildPackage,lame))
Note: See TracBrowser for help on using the repository browser.