void-packages/srcpkgs/libxshmfence/template

30 lines
777 B
Bash

# Template build file for 'libxshmfence'.
pkgname=libxshmfence
version=1.3
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="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://xorg.freedesktop.org/"
license="MIT"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=b884300d26a14961a076fbebc762a39831cb75f92bed5ccf9836345b459220c7
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"
}
}