void-packages/srcpkgs/libvorbis/template

34 lines
829 B
Bash

# Template file for 'libvorbis'.
pkgname=libvorbis
version=1.3.6
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libogg-devel"
short_desc="The Vorbis General Audio Compression Codec"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://www.xiph.org/vorbis/"
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
checksum=6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb
pre_configure() {
autoreconf -fi -I m4
}
post_install() {
vlicense COPYING
}
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
}
}