2 # Copyright (C) 2006-2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=libvorbisidec
11 PKG_VERSION
:=1.0.2+svn18153
14 PKG_SOURCE
:=$(PKG_NAME
)_
$(PKG_VERSION
).orig.
tar.gz
15 PKG_SOURCE_URL
:=http
://ftp.de.debian.org
/debian
/pool
/main
/libv
/libvorbisidec
/
16 PKG_MD5SUM
:=4190859414c5d6760e316b5cf00fe7c5
17 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
19 PKG_LICENSE
:=BSD-3-Clause
20 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/libvorbisidec
30 TITLE
:=A fixed-point Ogg
/Vorbis decoder library
32 URL
:=http
://wiki.xiph.org
/index.php
/Tremor
35 define Package
/libvorbisidec
/description
36 libvorbisidec is
"tremor", a fixed-point implementation of libvorbis.
37 It also has libogg built-in. It is suitable
as a replacement for
38 libvorbis and libogg in tremor-aware applications.
39 Tremor is a decoder only.
42 TARGET_CFLAGS
+= $(FPIC
)
43 CONFIGURE_ARGS
+= --enable-shared
--enable-static
45 define Build
/InstallDev
46 $(INSTALL_DIR
) $(1)/usr
/include
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/tremor
$(1)/usr
/include/
48 $(INSTALL_DIR
) $(1)/usr
/lib
49 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.
{a
,so
*} $(1)/usr
/lib
/
52 define Package
/libvorbisidec
/install
53 $(INSTALL_DIR
) $(1)/usr
/lib
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.so.
* $(1)/usr
/lib
/
57 $(eval
$(call BuildPackage
,libvorbisidec
))