void-packages/srcpkgs/libxshmfence/template

29 lines
754 B
Text
Raw Normal View History

2013-12-28 10:09:24 +00:00
# Template build file for 'libxshmfence'.
pkgname=libxshmfence
version=1.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto"
short_desc="X Shared memory 'SyncFence' synchronization primitive"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}
libxshmfence-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}