aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxp/APKBUILD
blob: 0fef12aa8cc2be7cf6792152b4264d8ba3939ea9 (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
30
31
32
33
34
35
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxp
pkgver=1.0.3
pkgrel=3
pkgdesc="X.Org X11 libXp runtime library"
options="!check" # No testsuite
url="https://www.x.org"
arch="all"
license="MIT"
makedepends="libx11-dev libxext-dev libxau-dev xorgproto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libXp-$pkgver.tar.bz2"

builddir="$srcdir"/libXp-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="502a2500ec0f519dae69ac035bf93c65c47e3bc301604aacb350e90043455f3485626194db45208e5521300b282843825e08b7f7c412a7497ffa02f5f1560c8d  libXp-1.0.3.tar.bz2"