diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-25 16:43:57 +0000 |
commit | 9526ee659401dee7160f35cb62ded2779bcbbc99 (patch) | |
tree | 812ad73bde9c84dcc02a3acbc5db576369ca314a /main/libx11/APKBUILD | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/libx11/APKBUILD')
-rw-r--r-- | main/libx11/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/main/libx11/APKBUILD b/main/libx11/APKBUILD new file mode 100644 index 0000000000..93224d6f4c --- /dev/null +++ b/main/libx11/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libx11 +pkgver=1.3.2 +pkgrel=0 +pkgdesc="X11 client-side library" +url="http://xorg.freedesktop.org/" +license="custom:XFREE86" +depends= +subpackages="$pkgname-dev $pkgname-doc" +makedepends="libxcb-dev libxau-dev libxdmcp-dev xproto xextproto + xf86bigfontproto xtrans kbproto inputproto util-macros pkgconfig + " +source="http://xorg.freedesktop.org/releases/individual/lib/libX11-$pkgver.tar.bz2 + " + +depends_dev="xproto kbproto libxau-dev libxdmcp-dev libxcb-dev" + +build() { + cd "$srcdir"/libX11-$pkgver + ./configure --prefix=/usr \ + --with-xcb || return 1 + make +} + +package() { + cd "$srcdir"/libX11-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} + +md5sums="001d780829f936e34851ef7cd37b4dfd libX11-1.3.2.tar.bz2" |