diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-23 12:33:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-04-23 12:33:40 +0000 |
commit | d079d8e18844f5f1bd7313f9642dc3f2e440e8c8 (patch) | |
tree | 408d9bb38e8c9e9ffe7c0ec3d5b113130ca4877a /main/xf86-video-modesetting/APKBUILD | |
parent | 6aa1ef0e4e814c75bcd1beb7976da8decbacc52e (diff) | |
download | aports-d079d8e18844f5f1bd7313f9642dc3f2e440e8c8.tar.bz2 aports-d079d8e18844f5f1bd7313f9642dc3f2e440e8c8.tar.xz |
main/xf86-video-modesetting: moved from testing
Diffstat (limited to 'main/xf86-video-modesetting/APKBUILD')
-rw-r--r-- | main/xf86-video-modesetting/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/main/xf86-video-modesetting/APKBUILD b/main/xf86-video-modesetting/APKBUILD new file mode 100644 index 0000000000..50e5b59ec1 --- /dev/null +++ b/main/xf86-video-modesetting/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xf86-video-modesetting +pkgver=0.8.1 +pkgrel=0 +pkgdesc="X.org generic modesetting video drive" +url="http://cgit.freedesktop.org/xorg/driver/xf86-video-modesetting/" +arch="all" +license="custom" +depends="" +depends_dev="xorg-server-dev udev-dev libdrm-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://xorg.freedesktop.org/releases/individual/driver/xf86-video-modesetting-$pkgver.tar.bz2" + +_builddir="$srcdir"/xf86-video-modesetting-$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 + rm "$pkgdir"/usr/lib/xorg/modules/*/*.la || return 1 +} + +md5sums="eb275e1ff0031897bcf23e2e5cb8655a xf86-video-modesetting-0.8.1.tar.bz2" +sha256sums="3ba8d8d7cb679497abc6486e2e843f8ea1582d830a27448ed4c90413e58312ca xf86-video-modesetting-0.8.1.tar.bz2" +sha512sums="1f18a90653a5e72f0285c7b4640051b63f7795e6c8ffb7e4055982c09ef5902c182657e4441292e8ebb42ef21cf730156b744603aa63bb8d803d8f5df55404b7 xf86-video-modesetting-0.8.1.tar.bz2" |