void-packages/srcpkgs/libXt/template

42 lines
1.1 KiB
Text
Raw Normal View History

# Template build file for 'libXt'.
pkgname=libXt
2013-05-31 14:45:31 +00:00
version=1.1.4
revision=1
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>"
2012-03-08 07:13:08 +00:00
license="MIT"
2013-03-20 09:11:51 +00:00
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
2013-05-31 14:45:31 +00:00
checksum=843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57
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
2013-03-20 09:11:51 +00:00
windows, and interpreting resource files."
2010-10-29 04:43:25 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" xproto"
2013-03-20 09:11:51 +00:00
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
fi
libXt-devel_package() {
2013-05-31 14:45:31 +00:00
depends="xproto libSM-devel libX11-devel libXt>=${version}"
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
}
}