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:
parent
bdb0d6b35e
commit
f888c5a8f1
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue