void-packages/srcpkgs/libogg/template

29 lines
753 B
Bash

# Template file for 'libogg'
pkgname=libogg
version=1.3.5
revision=1
build_style=gnu-configure
short_desc="Ogg bitstream file format library"
maintainer="Anthony Iliopoulos <ailiop@altatus.com>"
license="BSD-3-Clause"
homepage="https://www.xiph.org/ogg/"
changelog="https://gitlab.xiph.org/xiph/ogg/-/raw/master/CHANGES"
distfiles="https://downloads.xiph.org/releases/ogg/$pkgname-$version.tar.xz"
checksum=c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705
post_install() {
vlicense COPYING LICENSE
}
libogg-devel_package() {
depends="libogg>=${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
}
}