void-packages/srcpkgs/libxshmfence/template

30 lines
772 B
Bash

# Template file for 'libxshmfence'
pkgname=libxshmfence
version=1.3.2
revision=1
build_style=gnu-configure
configure_args="--with-shared-memory-dir=/dev/shm"
hostmakedepends="pkg-config"
makedepends="xorgproto"
short_desc="X Shared memory 'SyncFence' synchronization primitive"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org/"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.xz"
checksum=870df257bc40b126d91b5a8f1da6ca8a524555268c50b59c0acd1a27f361606f
post_install() {
vlicense COPYING
}
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"
}
}