void-packages/srcpkgs/libXt/template
2018-03-05 15:11:14 +01:00

31 lines
820 B
Bash

# Template build file for 'libXt'.
pkgname=libXt
version=1.1.5
revision=3
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="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a
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
}
}