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/libpciaccess/APKBUILD | |
parent | 05e09c1126a898b6d0af491fef0401bf53e297f8 (diff) | |
download | aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.bz2 aports-9526ee659401dee7160f35cb62ded2779bcbbc99.tar.xz |
merged x11 repository into main
ref #255
Diffstat (limited to 'main/libpciaccess/APKBUILD')
-rw-r--r-- | main/libpciaccess/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD new file mode 100644 index 0000000000..1f5e636521 --- /dev/null +++ b/main/libpciaccess/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libpciaccess +pkgver=0.11.0 +pkgrel=0 +pkgdesc="X11 PCI access library" +url="http://xorg.freedesktop.org/" +license="custom" +subpackages="$pkgname-dev $pkgname-doc" +depends= +makedepends="pkgconfig" +source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2" + +build() { + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING +} +md5sums="686320dcec98daad0bdfb8894d4f2a2b libpciaccess-0.11.0.tar.bz2" |