aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxt/APKBUILD
blob: f9750951573324dd19f2bb2871465832bda328a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxt
pkgver=1.0.8
pkgrel=3
pkgdesc="X11 toolkit intrinsics library"
url="http://xorg.freedesktop.org/"
license="custom"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libsm-dev libice-dev libx11-dev e2fsprogs-dev"
source="http://xorg.freedesktop.org/releases/individual/lib/libXt-$pkgver.tar.bz2"

depends_dev="xproto libx11-dev libsm-dev"

build () {
	cd "$srcdir"/libXt-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--disable-install-makestrs
	make || return 1
}

package() {
	cd "$srcdir"/libXt-$pkgver
	make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="fb7d2aa5b24cd5fe9b238a26d88030e7  libXt-1.0.8.tar.bz2"