aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libgpiod/APKBUILD
blob: ddbece54be06be1b7d625bcc4ec9c370d65e167a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: vinymeuh <vinymeuh@gmail.com>
# Maintainer: vinymeuh <vinymeuh@gmail.com>
pkgname=libgpiod
pkgver=1.2
pkgrel=0
pkgdesc="C library and tools for interacting with the linux GPIO character device"
url="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/"
arch="all"
license="LGPL-2.1-or-later"
options="!check" # no test suite
makedepends="autoconf automake libtool linux-headers autoconf-archive"
subpackages="$pkgname-dev"
source="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/snapshot/$pkgname-$pkgver.tar.gz"

build() {
	./autogen.sh \
		--build=$CBUILD \
		--enable-tools=yes \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="58a4f0d1c59c754f13de6b45b8cf3c6c69a2860d029ac74f1f8e17bb2da846905c6d4085d7d1b0fe6c09e171dd04e18dc2279cd5a548d183f8f1566f0ef5a67e  libgpiod-1.2.tar.gz"