void-packages/srcpkgs/libXcomposite/template

30 lines
750 B
Bash

# Template build file for 'libXcomposite'.
pkgname=libXcomposite
version=0.4.4
revision=4
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xorgproto libXfixes-devel"
short_desc="X Composite Library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
homepage="http://xorg.freedesktop.org"
license="MIT/X11"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=ede250cd207d8bee4a338265c3007d7a68d5aca791b6ac41af18e9a2aeb34178
post_install() {
vlicense COPYING
}
libXcomposite-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share
}
}