[packages] libogg: remove private libtool copy
[openwrt/svn-archive/archive.git] / libs / libogg / Makefile
1 #
2 # Copyright (C) 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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=libogg
11 PKG_VERSION:=1.1.4
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/
16 PKG_MD5SUM:=10200ec22543841d9d1c23e0aed4e5e9
17
18 PKG_FIXUP:=libtool
19 PKG_REMOVE_FILES:=aclocal.m4 acinclude.m4 ltmain.sh
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/libogg
26 SECTION:=libs
27 CATEGORY:=Libraries
28 TITLE:=libogg
29 URL:=http://xiph.org/ogg/
30 endef
31
32 define Package/libogg/description
33 Ogg project codecs use the Ogg bitstream format to arrange the raw,
34 compressed bitstream into a more robust, useful form. For example,
35 the Ogg bitstream makes seeking, time stamping and error recovery
36 possible, as well as mixing several sepearate, concurrent media
37 streams into a single physical bitstream.
38 endef
39
40 define Build/InstallDev
41 $(INSTALL_DIR) $(1)/usr/include/ogg/
42 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/
43 $(INSTALL_DIR) $(1)/usr/lib/
44 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/
45 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/
46 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
47 $(INSTALL_DIR) $(1)/usr/share/aclocal/
48 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/
49 endef
50
51 define Package/libogg/install
52 $(INSTALL_DIR) $(1)/usr/lib/
53 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/
54 endef
55
56 $(eval $(call BuildPackage,libogg))