aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxt/APKBUILD
blob: 06ec43b668f8141445a93933af46c9348bfe74ee (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxt
pkgver=1.0.9
pkgrel=0
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
}
md5sums="8a414f8f2327aaa616ca2dcac1f5d8c3  libXt-1.0.9.tar.bz2"