diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-17 09:46:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-03-17 09:47:05 +0000 |
commit | 234770f435ed442173c4be1def3303f638780892 (patch) | |
tree | 68c0c8a4139c3e81b32b2367969b1c72bd9e8d14 /testing/libxp | |
parent | 3b27406f6446fa5a45aa181030a80dcf9a75ed6f (diff) | |
download | aports-234770f435ed442173c4be1def3303f638780892.tar.bz2 aports-234770f435ed442173c4be1def3303f638780892.tar.xz |
testing/libxp: new aport
X.Org X11 libXp runtime library
http://www.x.org
needed by java
Diffstat (limited to 'testing/libxp')
-rw-r--r-- | testing/libxp/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/testing/libxp/APKBUILD b/testing/libxp/APKBUILD new file mode 100644 index 0000000000..ff2b4cb9b1 --- /dev/null +++ b/testing/libxp/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxp +pkgver=1.0.1 +pkgrel=0 +pkgdesc="X.Org X11 libXp runtime library" +url="http://www.x.org" +arch="all" +license="MIT" +depends= +depends_dev="util-macros libx11-dev libxext-dev libxau-dev printproto" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://xorg.freedesktop.org/releases/individual/lib/libXp-$pkgver.tar.bz2" + +_builddir="$srcdir"/libXp-$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 --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="7ae1d63748e79086bd51a633da1ff1a9 libXp-1.0.1.tar.bz2" |