2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
8 PKG_NAME
:=libvorbisidec
10 PKG_VERSION
:=1.0.3-$(PKG_REV
)
14 PKG_SOURCE_URL
:=https
://gitlab.xiph.org
/xiph
/tremor.git
15 PKG_SOURCE_VERSION
:=7c30a66346199f3f09017a09567c6c8a3a0eedc8
16 PKG_MIRROR_HASH
:=9cdec0bf6663d7c9e615dd556a2f115efccded884fe52c8dd18b42120781bed0
18 PKG_MAINTAINER
:=Ted Hess
<thess@kitschensync.net
>
19 PKG_LICENSE
:=BSD-3-Clause
20 PKG_LICENSE_FILES
:=COPYING
24 PKG_BUILD_FLAGS
:=no-mips16
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/libvorbisidec
31 TITLE
:=A fixed-point Ogg
/Vorbis decoder library
33 URL
:=http
://wiki.xiph.org
/index.php
/Tremor
36 define Package
/libvorbisidec
/description
37 libvorbisidec is
"tremor", a fixed-point implementation of libvorbis.
38 It also has libogg built-in. It is suitable
as a replacement for
39 libvorbis and libogg in tremor-aware applications.
40 Tremor is a decoder only.
43 TARGET_CFLAGS
+= $(FPIC
)
44 CONFIGURE_ARGS
+= --enable-shared
--enable-static
46 define Build
/InstallDev
47 $(INSTALL_DIR
) $(1)/usr
/include
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/tremor
$(1)/usr
/include/
49 $(INSTALL_DIR
) $(1)/usr
/lib
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.
{a
,so
*} $(1)/usr
/lib
/
51 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
52 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* $(1)/usr
/lib
/pkgconfig
/
55 define Package
/libvorbisidec
/install
56 $(INSTALL_DIR
) $(1)/usr
/lib
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.so.
* $(1)/usr
/lib
/
60 $(eval
$(call BuildPackage
,libvorbisidec
))