aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-06 08:13:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-06 08:13:03 +0000
commit368dba765cda21cacba33c13b083dd3e563388c0 (patch)
tree26804aed8a1e0254f049752a1c282e3d87f66238 /main/libxp
parent7eca73bff91b6e9bbd817d32813bb710af8483d5 (diff)
downloadaports-368dba765cda21cacba33c13b083dd3e563388c0.tar.bz2
aports-368dba765cda21cacba33c13b083dd3e563388c0.tar.xz
main/libxp: moved from testing
needed by openjdk6
Diffstat (limited to 'main/libxp')
-rw-r--r--main/libxp/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/libxp/APKBUILD b/main/libxp/APKBUILD
new file mode 100644
index 0000000000..ff2b4cb9b1
--- /dev/null
+++ b/main/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"