31 lines
836 B
Plaintext
31 lines
836 B
Plaintext
# Template file for 'libvorbis'.
|
|
pkgname=libvorbis
|
|
version=1.3.3
|
|
revision=3
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="libogg-devel"
|
|
short_desc="The Vorbis General Audio Compression Codec"
|
|
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"
|
|
checksum=6d747efe7ac4ad249bf711527882cef79fb61d9194c45b5ca5498aa60f290762
|
|
|
|
pre_configure() {
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
|
./autogen.sh
|
|
}
|
|
|
|
libvorbis-devel_package() {
|
|
depends="libogg-devel libvorbis>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|