mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 15:32:25 +01:00
33 lines
754 B
Plaintext
33 lines
754 B
Plaintext
# 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"
|
|
arch="all"
|
|
license="GPL-3.0-only"
|
|
makedepends="linux-headers"
|
|
source="http://sigrok.org/download/source/libserialport/libserialport-$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
update_config_guess
|
|
}
|
|
|
|
build() {
|
|
./configure --prefix=/usr/
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="7d379d1099173841e6d4df04c8c12dc6a4ebdfa0323ef35da6f3dea20db55d4f6ad81c1f6679f5aac7fe83270176428a817daa8627c336505335a07e06350a85 libserialport-0.1.1.tar.gz"
|