2009-03-19 01:59:30 +01:00
|
|
|
# Template build file for 'libXt'.
|
2008-10-04 06:29:49 +02:00
|
|
|
pkgname=libXt
|
2013-05-31 16:45:31 +02:00
|
|
|
version=1.1.4
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="xproto kbproto libSM-devel libX11-devel"
|
2008-10-01 05:09:19 +02:00
|
|
|
short_desc="X Toolkit Intrinsics library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-08 08:13:08 +01:00
|
|
|
license="MIT"
|
2013-03-20 10:11:51 +01:00
|
|
|
homepage="http://xorg.freedesktop.org"
|
|
|
|
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
|
2013-05-31 16:45:31 +02:00
|
|
|
checksum=843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57
|
2008-10-01 05:09:19 +02: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 10:11:51 +01:00
|
|
|
windows, and interpreting resource files."
|
2010-10-29 06:43:25 +02:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends+=" xproto"
|
2013-03-20 10:11:51 +01:00
|
|
|
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
|
|
|
|
fi
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libXt-devel_package() {
|
2013-05-31 16:45:31 +02:00
|
|
|
depends="xproto libSM-devel libX11-devel libXt>=${version}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/man
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|