summaryrefslogtreecommitdiff
path: root/user/xf86-video-v4l/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xf86-video-v4l/APKBUILD')
-rw-r--r--user/xf86-video-v4l/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/xf86-video-v4l/APKBUILD b/user/xf86-video-v4l/APKBUILD
new file mode 100644
index 000000000..2437720a1
--- /dev/null
+++ b/user/xf86-video-v4l/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xf86-video-v4l
+pkgver=0.3.0
+pkgrel=0
+pkgdesc="X.Org driver for Video4Linux devices"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="util-macros xorg-server-dev xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.X.Org/releases/individual/driver/xf86-video-v4l-$pkgver.tar.bz2"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="ec39b2fa70143b8662c3bd8ec094afdfa245687072d19164eb6b6c3e96aaf39a4d7708af60be975fcd07927cc9055812a67abb611a98cd27b3d548d8c2249955 xf86-video-v4l-0.3.0.tar.bz2"