void-packages/srcpkgs/libXt/template

32 lines
814 B
Bash

# Template file for 'libXt'
pkgname=libXt
version=1.2.1
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xorgproto"
makedepends="xorgproto libSM-devel libX11-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=679cc08f1646dbd27f5e48ffe8dd49406102937109130caab02ca32c083a3d60
post_install() {
vlicense COPYING
}
libXt-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man
vmove usr/share/doc
}
}