summaryrefslogtreecommitdiff
path: root/user/xf86-video-v4l/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 13:20:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 13:20:13 +0000
commit2102bf7108a8a4f790f6cdce1ddc823dd9ec91e6 (patch)
tree5d8df079fc80d22789e724f44930e0e944dfb031 /user/xf86-video-v4l/APKBUILD
parent8a4a7cdbc030f70bdb47088008588058f88aa64a (diff)
downloadpackages-2102bf7108a8a4f790f6cdce1ddc823dd9ec91e6.tar.gz
packages-2102bf7108a8a4f790f6cdce1ddc823dd9ec91e6.tar.bz2
packages-2102bf7108a8a4f790f6cdce1ddc823dd9ec91e6.tar.xz
packages-2102bf7108a8a4f790f6cdce1ddc823dd9ec91e6.zip
user/xf86-video-v4l: new package
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"