Commit fdd573ec authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

main/libxmu: modernise, fix deps, mark no test

parent 57871c1a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxmu
pkgver=1.1.2
pkgrel=0
pkgrel=1
pkgdesc="X11 miscellaneous micro-utility library"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
options="!check" # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="libxext-dev libxt-dev libx11-dev libsm-dev
util-linux-dev"
util-linux-dev util-macros xmlto"
source="http://www.x.org/releases/individual/lib/libXmu-$pkgver.tar.bz2"
depends_dev="xproto libx11-dev libxt-dev libxext-dev util-linux-dev"
depends_dev="util-linux-dev"
build ()
builddir="$srcdir"/libXmu-$pkgver
build()
{
cd "$srcdir"/libXmu-$pkgver
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
--without-fop
make
}
package() {
cd "$srcdir"/libXmu-$pkgver
make DESTDIR="$pkgdir" install || return 1
cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
$pkgdir/usr/share/licenses/$pkgname/COPYING
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment