1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +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> # Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=setserial pkgname=setserial
pkgver=2.17 pkgver=2.17
pkgrel=3 pkgrel=4
pkgdesc="tool for change various attributes of a serial device" pkgdesc="tool for change various attributes of a serial device"
url="https://setserial.sourceforge.net/" url="https://setserial.sourceforge.net/"
arch="all" arch="all"
@ -22,14 +22,16 @@ prepare() {
} }
build() { build() {
# Overwrite busybox's setserial symlink with --bindir
./configure \ ./configure \
--bindir=/bin \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man --mandir=/usr/share/man
make make
} }
package() { package() {
install -d $pkgdir/usr/bin install -d $pkgdir/bin
install -d $pkgdir/usr/share/man/man8 install -d $pkgdir/usr/share/man/man8
make DESTDIR=$pkgdir install make DESTDIR=$pkgdir install
} }