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
:=82aa52d3f1920e06834800d2c191530ce0ddc8a1f61986be4faea56d70cbb517
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 is suitable
as a replacement for libvorbis 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
/
50 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
/
51 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/* $(1)/usr
/lib
/pkgconfig
/
54 define Package
/libvorbisidec
/install
55 $(INSTALL_DIR
) $(1)/usr
/lib
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/libvorbisidec.so.
* $(1)/usr
/lib
/
59 $(eval
$(call BuildPackage
,libvorbisidec
))