summaryrefslogtreecommitdiff
path: root/user/xf86-video-fbdev/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-24 03:27:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-11-24 03:27:38 +0000
commit7a64d82cc64dc90c05a169d20f2ebe81155fda5a (patch)
tree72f24b8de97954966a71905bcef47c3f5f6929bc /user/xf86-video-fbdev/APKBUILD
parente48520ec1e55df33a5303920467f286f3b1566f7 (diff)
downloadpackages-7a64d82cc64dc90c05a169d20f2ebe81155fda5a.tar.gz
packages-7a64d82cc64dc90c05a169d20f2ebe81155fda5a.tar.bz2
packages-7a64d82cc64dc90c05a169d20f2ebe81155fda5a.tar.xz
packages-7a64d82cc64dc90c05a169d20f2ebe81155fda5a.zip
user/xf86-video-fbdev: new package
Diffstat (limited to 'user/xf86-video-fbdev/APKBUILD')
-rw-r--r--user/xf86-video-fbdev/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xf86-video-fbdev/APKBUILD b/user/xf86-video-fbdev/APKBUILD
new file mode 100644
index 000000000..628551019
--- /dev/null
+++ b/user/xf86-video-fbdev/APKBUILD
@@ -0,0 +1,34 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-fbdev
+pkgver=0.5.0
+pkgrel=0
+pkgdesc="X.Org driver for video over framebuffers"
+url="https://www.X.Org/"
+arch="all"
+license="MIT"
+subpackages="$pkgname-doc"
+depends=""
+makedepends="libxi-dev util-macros xorgproto-dev xorg-server-dev"
+source="https://www.X.org/releases/individual/driver/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+sha512sums="c1217b943bbe3301b3c2a8649ed1004c3c67b02607bd56bbc14f6dfa05e7f0184332c81a6a19595514745501ed88526aee932e555779b7c3a8233646b0979448 xf86-video-fbdev-0.5.0.tar.bz2"