milis/talimatname/temel/util-linux/talimat

43 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: System utilities for handling file systems consoles partitions and messages.
# URL: http://freshmeat.net/projects/util-linux/
# Paketçi: milisarge
# Gerekler:
name=util-linux
version=2.27.1
release=1
source=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$version.tar.xz
)
build()
{
cd util-linux-$version
mkdir -pv $PKG/var/lib/hwclock
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
--docdir=/usr/share/doc/$name-$version \
--disable-chfn-chsh \
--disable-login \
--disable-nologin \
--disable-su \
--disable-setpriv \
--disable-runuser \
--disable-pylibmount \
--disable-static \
--without-python \
--without-systemd \
--without-systemdsystemunitdir
make
make DESTDIR=$PKG install
mv $PKG/usr/bin/* $PKG/bin/
rm -r $PKG/usr/bin
mv $PKG/usr/sbin/* $PKG/sbin/
rm -r $PKG/usr/sbin
rm -r $PKG/usr/share/{doc,bash-completion}
rm $PKG/sbin/{mkfs.bfs,mkfs.minix,fsck.minix}
rm $PKG/usr/share/man/man8/{fsck.minix,mkfs.bfs,mkfs.minix}.8
}