void-packages/srcpkgs/libvorbis/template

30 lines
972 B
Text
Raw Normal View History

# Template file for 'libvorbis'.
pkgname=libvorbis
2012-02-23 08:20:58 +00:00
version=1.3.3
revision=2
build_style=gnu-configure
subpackages="$pkgname-devel"
hostmakedepends="pkg-config"
makedepends="libogg-devel"
short_desc="The Vorbis General Audio Compression Codec"
2012-02-23 08:20:58 +00:00
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.xiph.org/vorbis/"
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
2012-02-23 08:20:58 +00:00
checksum=6d747efe7ac4ad249bf711527882cef79fb61d9194c45b5ca5498aa60f290762
long_desc="
Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
general-purpose compressed audio format for audio and music at fixed
and variable bitrates from 16 to 128 kbps/channel.
The libvorbis package contains runtime libraries for use in programs
that support Ogg Vorbis."
if [ "$CROSS_BUILD" ]; then
hostmakedepends="automake pkg-config"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
./autogen.sh
}
fi