[arch-commits] Commit in libiio/repos/community-x86_64 (PKGBUILD PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sat Mar 21 18:38:56 UTC 2020
Date: Saturday, March 21, 2020 @ 18:38:55
Author: ffy00
Revision: 602990
archrelease: copy trunk to community-x86_64
Added:
libiio/repos/community-x86_64/PKGBUILD
(from rev 602989, libiio/trunk/PKGBUILD)
Deleted:
libiio/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 34 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 18:38:46 UTC (rev 602989)
+++ PKGBUILD 2020-03-21 18:38:55 UTC (rev 602990)
@@ -1,32 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=libiio
-pkgver=0.19
-pkgrel=1
-pkgdesc="Interface to the Linux Industrial Input/Output (IIO) Subsystem"
-arch=('x86_64')
-url="https://github.com/analogdevicesinc/libiio"
-license=('LGPL2.1')
-depends=('glibc' 'libaio' 'libserialport' 'libusb-1.0.so' 'libxml2')
-makedepends=('cmake')
-provides=('libiio.so')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/analogdevicesinc/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('c904f517f95919caeedc0d1ddf80003233df2296364771216ef853d3b92f273ae7cdf4e7f972fa88f1483b25e762f749efe5117fa3f2b026b3adc5c5ab403b0a')
-
-build() {
- cd "$pkgname-$pkgver"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_SBINDIR=bin \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
- -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system \
- -DWITH_SYSTEMD=ON \
- -Bbuild \
- .
- make -C build VERBOSE=1
-}
-
-package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" -C build install
-}
Copied: libiio/repos/community-x86_64/PKGBUILD (from rev 602989, libiio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-21 18:38:55 UTC (rev 602990)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=libiio
+pkgver=0.19
+pkgrel=2
+pkgdesc="Interface to the Linux Industrial Input/Output (IIO) Subsystem"
+arch=('x86_64')
+url="https://github.com/analogdevicesinc/libiio"
+license=('LGPL2.1')
+depends=('glibc' 'libaio' 'libserialport' 'libusb-1.0.so' 'libxml2')
+optdepends=('python: Python bindings')
+makedepends=('cmake' 'python')
+provides=('libiio.so')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/analogdevicesinc/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('c904f517f95919caeedc0d1ddf80003233df2296364771216ef853d3b92f273ae7cdf4e7f972fa88f1483b25e762f749efe5117fa3f2b026b3adc5c5ab403b0a')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SBINDIR=bin \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
+ -DSYSTEMD_UNIT_INSTALL_DIR=/usr/lib/systemd/system \
+ -DWITH_SYSTEMD=ON \
+ -DPYTHON_BINDINGS=ON \
+ -Bbuild \
+ .
+ make -C build VERBOSE=1
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" -C build install
+}
More information about the arch-commits
mailing list