mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 10:04:36 +02:00
35 lines
862 B
Text
35 lines
862 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@posteo.net>
|
|
pkgname=libserialport
|
|
pkgver=0.1.1
|
|
pkgrel=1
|
|
pkgdesc="A minimal C library handling OS-specific details when using serial ports"
|
|
url="https://sigrok.org/wiki/Libserialport"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="linux-headers automake autoconf libtool"
|
|
source="https://github.com/sigrokproject/libserialport/archive/libserialport-$pkgver/libserialport-$pkgver.tar.gz"
|
|
builddir="$srcdir/libserialport-libserialport-$pkgver"
|
|
subpackages="$pkgname-dev"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
./configure --prefix=/usr/
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
b3978ac779f7eb6abb0cf7b4c623e107ba4ad3e6cee9da264500309783f1b28934b511b483d298105eed31eaf96196c93c45fdd89bd13bae04f2449d774f33af libserialport-0.1.1.tar.gz
|
|
"
|