43 lines
1022 B
Plaintext
43 lines
1022 B
Plaintext
|
# Tanım: System utilities for handling file systems consoles partitions and messages.
|
|||
|
# URL: http://freshmeat.net/projects/util-linux/
|
|||
|
# Paketçi: milisarge
|
|||
|
# Gerekler:
|
|||
|
|
|||
|
isim=util-linux
|
|||
|
surum=2.27.1
|
|||
|
devir=1
|
|||
|
kaynak=(http://www.kernel.org/pub/linux/utils/util-linux/v${version:0:4}/util-linux-$surum.tar.xz
|
|||
|
)
|
|||
|
|
|||
|
derle()
|
|||
|
{
|
|||
|
cd util-linux-$surum
|
|||
|
|
|||
|
mkdir -pv $PKG/var/lib/hwclock
|
|||
|
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
|
|||
|
--docdir=/usr/share/doc/$isim-$surum \
|
|||
|
--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
|
|||
|
}
|