summaryrefslogtreecommitdiff
path: root/user/libxaw/APKBUILD
blob: 69e0f4ddcf5d1a9d84cb867f72baed86d46a05b2 (plain) (blame)
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
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libxaw
pkgver=1.0.14
pkgrel=0
pkgdesc="X11 Athena widget set"
url="https://www.X.Org"
arch="all"
license="X11 AND MIT"
depends=""
makedepends="libx11-dev libxext-dev libxmu-dev libxpm-dev util-macros 
	xorgproto-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.X.Org/releases/individual/lib/libXaw-$pkgver.tar.bz2"
builddir="$srcdir"/libXaw-$pkgver

build() {
	./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() {
	make check
}

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

sha512sums="29d1c151369523ae6cb418e636b0b7b39ccccc35462a0b394dbeb46d5b6d780badd2eb872a55d9fbba1ee1af034e76c0463f40f8d8a7be2c336d08b3b1bf81d4  libXaw-1.0.14.tar.bz2"