void-packages/srcpkgs/libXext/template
2017-08-01 21:42:49 +00:00

30 lines
757 B
Bash

# Template build file for 'libXext'.
pkgname=libXext
version=1.3.3
revision=2
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xextproto libX11-devel"
short_desc="X Extension library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=b518d4d332231f313371fdefac59e3776f4f0823bcb23cf7c7305bfb57b16e35
post_install() {
vlicense COPYING
}
libXext-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/man/man3
}
}