libXt: cross build and debug support.

This commit is contained in:
Juan RP 2013-03-20 10:11:51 +01:00
parent 29aa70d782
commit 7e0e83045e
2 changed files with 12 additions and 14 deletions

View file

@ -1,11 +1,7 @@
# Template file for 'libXt-devel'.
#
depends="xproto libSM-devel libICE-devel libX11-devel libXt"
depends="xproto libSM-devel libICE-devel libX11-devel libXt>=${version}"
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
do_install() {
vmove usr/include usr

View file

@ -1,22 +1,24 @@
# Template build file for 'libXt'.
pkgname=libXt
version=1.1.3
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
revision=2
build_style=gnu-configure
makedepends="pkg-config xproto kbproto libSM-devel libICE-devel libX11-devel"
revision=1
makedepends="pkg-config xproto kbproto libSM-devel libX11-devel"
subpackages="$pkgname-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.
This is from the modular X.org project."
subpackages="$pkgname-devel"
windows, and interpreting resource files."
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="pkg-config xproto"
crossmakedepends="xproto kbproto libSM-devel libX11-devel"
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
fi