void-packages/srcpkgs/libpciaccess/template

26 lines
644 B
Bash

# Template build file for 'libpciaccess'.
pkgname=libpciaccess
version=0.16
revision=1
build_style=gnu-configure
short_desc="X11 PCI Access library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=214c9d0d884fdd7375ec8da8dcb91a8d3169f263294c9a90c575bf1938b9f489
post_install() {
vlicense COPYING
}
libpciaccess-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}