30 lines
772 B
Bash
30 lines
772 B
Bash
# Template file for 'libvorbis'.
|
|
pkgname=libvorbis
|
|
version=1.3.7
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libogg-devel"
|
|
short_desc="The Vorbis General Audio Compression Codec"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://www.xiph.org/vorbis/"
|
|
distfiles="https://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
|
|
checksum=0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab
|
|
|
|
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
|
|
}
|
|
}
|