diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-24 15:38:01 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-05-24 15:38:29 +0000 |
commit | 416eb3d50e0b148e23a8f68bf11582147cbb1fb9 (patch) | |
tree | 05686759d2aa3c03bb816f6f981745a76826865d | |
parent | 062d5f16167921bd66297d12b2cd85d79fb0943e (diff) | |
download | aports-416eb3d50e0b148e23a8f68bf11582147cbb1fb9.tar.bz2 aports-416eb3d50e0b148e23a8f68bf11582147cbb1fb9.tar.xz |
testing/xf86-video-modesetting: new aport
-rw-r--r-- | testing/xf86-video-modesetting/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/testing/xf86-video-modesetting/APKBUILD b/testing/xf86-video-modesetting/APKBUILD new file mode 100644 index 000000000..9cbddcded --- /dev/null +++ b/testing/xf86-video-modesetting/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=xf86-video-modesetting +pkgver=0.7.0 +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" +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="38e64eb09cef9bdf1de400bbe9818321 xf86-video-modesetting-0.7.0.tar.bz2" +sha256sums="2bc55f776eaee7b4e13df13238d36c4facf1cdca095a11519baf2376f5c996ac xf86-video-modesetting-0.7.0.tar.bz2" +sha512sums="7ef474e014ff73c3c202a035c5f3821cf2c49e3eb98af6e858c1b06faa340bd78dbbda6413617f2457f8b7b572ee306fb2b3191a8afb7601a7d49e4bdba8f7bd xf86-video-modesetting-0.7.0.tar.bz2" |