1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

community/setserial: overwrite busybox's setserial symlink

This commit is contained in:
Clayton Craft 2025-05-16 23:24:29 -07:00 committed by achill (fossdd)
parent bdb0d6b35e
commit f888c5a8f1

View file

@ -2,7 +2,7 @@
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=setserial
pkgver=2.17
pkgrel=3
pkgrel=4
pkgdesc="tool for change various attributes of a serial device"
url="https://setserial.sourceforge.net/"
arch="all"
@ -22,14 +22,16 @@ prepare() {
}
build() {
# Overwrite busybox's setserial symlink with --bindir
./configure \
--bindir=/bin \
--prefix=/usr \
--mandir=/usr/share/man
make
}
package() {
install -d $pkgdir/usr/bin
install -d $pkgdir/bin
install -d $pkgdir/usr/share/man/man8
make DESTDIR=$pkgdir install
}