blob: 7e6973212cb1bce560fc9cd1aeba85ff77c98556 (
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
28
29
30
31
32
|
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
pkgname="libserialport"
pkgver=0.1.1
pkgrel=0
pkgdesc="A minimal C library handling OS-specific details when using serial ports"
url="https://sigrok.org/wiki/Libserialport"
makedepends="linux-headers"
depends=""
arch="all"
license="GPL-3.0-only"
source="http://sigrok.org/download/source/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "${builddir}"
./configure --prefix=/usr/
make
}
check() {
cd "${builddir}"
make check
}
package() {
cd "${builddir}"
make DESTDIR="$pkgdir" install
}
sha512sums="7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85 libserialport-0.1.1.tar.gz"
|