aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxaw/APKBUILD
blob: 3978b146ac0cccdcf12c44b7a6beda60ef3c4217 (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
36
37
38
39
40
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxaw
pkgver=1.0.13
pkgrel=3
pkgdesc="X Athena Widget Set"
url="https://www.x.org"
arch="all"
license="MIT"
makedepends="libxmu-dev libxpm-dev libxext-dev libx11-dev util-macros xorgproto"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.x.org/releases/individual/lib/libXaw-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="d768a39f7111802493fa1df1b80d858e4139ceeb883d45ff13ce3b7a0e775a7d2834b7ad157c8330117f04c32f38979795332dd7a119adb2344fcb1aa9cf1e2f  libXaw-1.0.13.tar.bz2"