void-packages/srcpkgs/libXt/template

41 lines
1.1 KiB
Text

# Template build file for 'libXt'.
pkgname=libXt
version=1.1.3
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto kbproto libSM-devel libX11-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=8db593c3fc5ffc4e9cd854ba50af1eac9b90d66521ba17802b8f1e0d2d7f05bd
long_desc="
This is the X Toolkit Intrinsics library. Xt Intrinsics is a library
of C routines (based on Xlib) used for designing user interfaces with
widgets. It also provides functions for handling events, initializing
windows, and interpreting resource files."
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" xproto"
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
fi
libXt-devel_package() {
depends="xproto libSM-devel libICE-devel libX11-devel libXt>=${version}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share/man
vmove usr/share/doc
}
}
libXt_package() {
pkg_install() {
vmove usr
}
}