void-packages/srcpkgs/libXext/template

31 lines
756 B
Bash

# Template file for 'libXext'
pkgname=libXext
version=1.3.4
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config"
makedepends="xorgproto libX11-devel"
short_desc="X Extension library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="$XORG_SITE"
distfiles="${XORG_SITE}/lib/libXext-${version}.tar.bz2"
checksum=59ad6fcce98deaecc14d39a672cf218ca37aba617c9a0f691cac3bcd28edf82b
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
}
}