util-linux: move to usr/bin.
This commit is contained in:
parent
095c35ef4f
commit
f906fd4d75
1 changed files with 3 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'util-linux'
|
# Template file for 'util-linux'
|
||||||
pkgname=util-linux
|
pkgname=util-linux
|
||||||
version=2.26.2
|
version=2.26.2
|
||||||
revision=2
|
revision=3
|
||||||
short_desc="Miscellaneous linux utilities"
|
short_desc="Miscellaneous linux utilities"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
|
homepage="http://userweb.kernel.org/~kzak/util-linux-ng"
|
||||||
|
@ -29,7 +29,7 @@ pre_configure() {
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure ${configure_args} \
|
./configure ${configure_args} \
|
||||||
--exec-prefix=/usr --libdir=/usr/lib \
|
--exec-prefix=/usr --libdir=/usr/lib \
|
||||||
--bindir=/usr/bin --sbindir=/usr/sbin \
|
--bindir=/usr/bin --sbindir=/usr/bin \
|
||||||
--enable-libuuid --disable-makeinstall-chown \
|
--enable-libuuid --disable-makeinstall-chown \
|
||||||
--enable-libblkid --enable-fsck --disable-rpath \
|
--enable-libblkid --enable-fsck --disable-rpath \
|
||||||
--enable-fs-paths-extra=/usr/sbin:/usr/bin \
|
--enable-fs-paths-extra=/usr/sbin:/usr/bin \
|
||||||
|
@ -39,12 +39,10 @@ do_configure() {
|
||||||
--enable-write --localstatedir=/run
|
--enable-write --localstatedir=/run
|
||||||
}
|
}
|
||||||
do_build() {
|
do_build() {
|
||||||
export CCACHE_DISABLE=1
|
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
unset CCACHE_DISABLE
|
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} install
|
make usrsbin_execdir=/usr/bin DESTDIR=${DESTDIR} install
|
||||||
|
|
||||||
# Correct perms for newgrp, chfn, chsh, wall and write.
|
# Correct perms for newgrp, chfn, chsh, wall and write.
|
||||||
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
|
chmod u+s $DESTDIR/usr/bin/{newgrp,chsh,chfn}
|
||||||
|
|
Loading…
Reference in a new issue