void-packages/srcpkgs/libxshmfence/template

29 lines
774 B
Bash

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