void-packages/srcpkgs/libxshmfence/template

30 lines
805 B
Plaintext

# Template build file for 'libxshmfence'.
pkgname=libxshmfence
version=1.1
revision=2
build_style=gnu-configure
configure_args="--with-shared-memory-dir=/dev/shm"
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"
}
}