2009-03-19 00:59:30 +00:00
|
|
|
# Template build file for 'libXt'.
|
2008-10-04 04:29:49 +00:00
|
|
|
pkgname=libXt
|
2012-03-16 11:48:29 +00:00
|
|
|
version=1.1.3
|
2013-03-20 09:11:51 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="xproto kbproto libSM-devel libX11-devel"
|
2008-10-01 03:09:19 +00:00
|
|
|
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"
|
2012-03-16 11:48:29 +00:00
|
|
|
checksum=8db593c3fc5ffc4e9cd854ba50af1eac9b90d66521ba17802b8f1e0d2d7f05bd
|
2008-10-01 03:09:19 +00:00
|
|
|
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
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-13 08:15:49 +00:00
|
|
|
hostmakedepends+=" xproto"
|
2013-03-20 09:11:51 +00:00
|
|
|
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
|
|
|
|
fi
|
2013-04-13 08:15:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|