2006-07-22 23:04:12 +00:00
|
|
|
#
|
2011-03-09 18:09:53 +00:00
|
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
2006-07-22 23:04:12 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=libvorbisidec
|
2007-12-23 21:35:22 +00:00
|
|
|
PKG_VERSION:=1.0.2+svn14261
|
2006-07-22 23:04:12 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
2007-12-14 07:12:35 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/libv/libvorbisidec/
|
2007-12-23 21:35:22 +00:00
|
|
|
PKG_MD5SUM:=bc617d4af1cd74b38d7c51451dd6eff0
|
2006-07-22 23:04:12 +00:00
|
|
|
|
2011-03-09 18:09:53 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
2008-03-09 22:40:25 +00:00
|
|
|
|
2006-07-22 23:04:12 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/libvorbisidec
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=A fixed-point Ogg/Vorbis decoder library
|
2007-02-01 19:41:15 +00:00
|
|
|
URL:=http://wiki.xiph.org/index.php/Tremor
|
2006-07-22 23:04:12 +00:00
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/libvorbisidec/description
|
|
|
|
libvorbisidec is "tremor", a fixed-point implementation of libvorbis.
|
|
|
|
It also has libogg built-in. It is suitable as a replacement for
|
|
|
|
libvorbis and libogg in tremor-aware applications.
|
|
|
|
Tremor is a decoder only.
|
|
|
|
endef
|
|
|
|
|
2008-08-06 22:43:15 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
2011-03-09 18:09:53 +00:00
|
|
|
CONFIGURE_ARGS += --enable-shared --enable-static
|
2006-07-22 23:04:12 +00:00
|
|
|
|
|
|
|
define Build/InstallDev
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/tremor $(1)/usr/include/
|
2009-12-18 11:06:19 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2007-10-07 03:20:26 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.{a,so*} $(1)/usr/lib/
|
2006-07-22 23:04:12 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-28 22:43:08 +00:00
|
|
|
define Package/libvorbisidec/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
2006-10-28 22:43:08 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libvorbisidec.so.* $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
2006-07-22 23:04:12 +00:00
|
|
|
$(eval $(call BuildPackage,libvorbisidec))
|