blob: 39d730b09da07340679c1f39bc99c981fb984049 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer:
pkgname=libxaw
pkgver=1.0.12
pkgrel=0
pkgdesc="X Athena Widget Set"
url="http://www.x.org"
arch="all"
license="MIT"
depends=""
depends_dev="xproto libxmu-dev libxpm-dev libxext-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://xorg.freedesktop.org/releases/individual/lib/libXaw-$pkgver.tar.bz2"
_builddir="$srcdir"/libXaw-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
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 \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="7446f5fba888672aad068b29c0928ba3 libXaw-1.0.12.tar.bz2"
sha256sums="96fc314874fce9979556321d1d6ee00b5baf32fb333b7278853b4983bc3cdbf6 libXaw-1.0.12.tar.bz2"
sha512sums="baf11625a20b89f08747e25dff6755ab796c8a5a91341d3cb21f85780733c4a3c25bbf134ac6259982207067d0a617f83f516c48aef6f57cbab14c8a9862944d libXaw-1.0.12.tar.bz2"
|