summaryrefslogtreecommitdiffstats
path: root/main/libxt/APKBUILD
blob: 5ae67fbd3e52ac355e040b1000987d5e6fe434c7 (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
28
29
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxt
pkgver=1.1.1
pkgrel=1
pkgdesc="X11 toolkit intrinsics library"
url="http://xorg.freedesktop.org/"
arch="all"
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
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="eb22c0a1f172b06b97a3f5ae89768412  libXt-1.1.1.tar.bz2"