Commit 7dd8fdf6 authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

main/libxt: modernise, fix deps, add test suite

parent c140c5b2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxt
pkgver=1.1.5
pkgrel=0
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
depends_dev="xproto libx11-dev libsm-dev"
makedepends="$depends_dev libice-dev e2fsprogs-dev"
depends_dev="libsm-dev"
makedepends="$depends_dev libice-dev libx11-dev util-macros xproto"
checkdepends="glib-dev"
source="http://www.x.org/releases/individual/lib/libXt-$pkgver.tar.bz2
"
_builddir="$srcdir"/libXt-$pkgver
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
builddir="$srcdir"/libXt-$pkgver
build () {
cd "$_builddir"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
--sysconfdir=/etc
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
md5sums="8f5b5576fbabba29a05f3ca2226f74d3 libXt-1.1.5.tar.bz2"
sha256sums="46eeb6be780211fdd98c5109286618f6707712235fdd19df4ce1e6954f349f1a libXt-1.1.5.tar.bz2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment