2 # Copyright (C) 2006-2015 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
12 PKG_VERSION
:=1.0.3-$(PKG_REV
)
16 PKG_SOURCE_URL
:=git
://git.xiph.org
/tremor.git
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_VERSION
:=b56ffce0c0773ec5ca04c466bc00b1bbcaf65aef
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
23 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
25 PKG_LICENSE
:=BSD-3-Clause
26 PKG_LICENSE_FILES
:=COPYING
32 include $(INCLUDE_DIR
)/package.mk
34 define Package
/libvorbisidec
37 TITLE
:=A fixed-point Ogg
/Vorbis decoder library
39 URL
:=http
://wiki.xiph.org
/index.php
/Tremor
42 define Package
/libvorbisidec
/description
43 libvorbisidec is
"tremor", a fixed-point implementation of libvorbis.
44 It also has libogg built-in. It is suitable
as a replacement for
45 libvorbis and libogg in tremor-aware applications.
46 Tremor is a decoder only.
49 TARGET_CFLAGS
+= $(FPIC
)
50 CONFIGURE_ARGS
+= --enable-shared
--enable-static
52 define Build
/InstallDev
53 $(INSTALL_DIR
) $(1)/usr
/include
54 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/tremor
$(1)/usr
/include/
55 $(INSTALL_DIR
) $(1)/usr
/lib
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.
{a
,so
*} $(1)/usr
/lib
/
59 define Package
/libvorbisidec
/install
60 $(INSTALL_DIR
) $(1)/usr
/lib
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.so.
* $(1)/usr
/lib
/
64 $(eval
$(call BuildPackage
,libvorbisidec
))