Makefile (1657B)
1 # 2 # Copyright (C) 2008-2014 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.3.2 12 PKG_RELEASE:=2 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 15 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/ogg/ 16 PKG_MD5SUM:=5c3a34309d8b98640827e5d0991a4015 17 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net> 18 19 PKG_LICENSE:=BSD-3-Clause 20 PKG_LICENSE_FILES:=COPYING 21 22 PKG_FIXUP:=autoreconf 23 24 PKG_INSTALL:=1 25 26 include $(INCLUDE_DIR)/package.mk 27 28 define Package/libogg 29 SECTION:=libs 30 CATEGORY:=Libraries 31 TITLE:=libogg 32 URL:=http://xiph.org/ogg/ 33 endef 34 35 define Package/libogg/description 36 Ogg project codecs use the Ogg bitstream format to arrange the raw, 37 compressed bitstream into a more robust, useful form. For example, 38 the Ogg bitstream makes seeking, time stamping and error recovery 39 possible, as well as mixing several sepearate, concurrent media 40 streams into a single physical bitstream. 41 endef 42 43 define Build/InstallDev 44 $(INSTALL_DIR) $(1)/usr/include/ogg/ 45 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/ogg/* $(1)/usr/include/ogg/ 46 $(INSTALL_DIR) $(1)/usr/lib/ 47 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so*,a,la} $(1)/usr/lib/ 48 $(INSTALL_DIR) $(1)/usr/lib/pkgconfig/ 49 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/ 50 $(INSTALL_DIR) $(1)/usr/share/aclocal/ 51 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/* $(1)/usr/share/aclocal/ 52 endef 53 54 define Package/libogg/install 55 $(INSTALL_DIR) $(1)/usr/lib/ 56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so.* $(1)/usr/lib/ 57 endef 58 59 $(eval $(call BuildPackage,libogg))