void-packages/srcpkgs/libvorbis/template

30 lines
779 B
Plaintext

# Template file for 'libvorbis'.
pkgname=libvorbis
version=1.3.4
revision=2
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=eee09a0a13ec38662ff949168fe897a25d2526529bc7e805305f381c219a1ecb
pre_configure() {
autoreconf -fi -I m4
}
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
}
}