mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 00:02:17 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libxaw
|
|
pkgver=1.0.13
|
|
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
|
|
}
|
|
|
|
md5sums="e5e06eb14a608b58746bdd1c0bd7b8e3 libXaw-1.0.13.tar.bz2"
|
|
sha256sums="8ef8067312571292ccc2bbe94c41109dcf022ea5a4ec71656a83d8cce9edb0cd libXaw-1.0.13.tar.bz2"
|
|
sha512sums="d768a39f7111802493fa1df1b80d858e4139ceeb883d45ff13ce3b7a0e775a7d2834b7ad157c8330117f04c32f38979795332dd7a119adb2344fcb1aa9cf1e2f libXaw-1.0.13.tar.bz2"
|