milis/talimatname/temel/util-linux/talimat

43 lines
1022 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: System utilities for handling file systems consoles partitions and messages.
2016-02-24 01:27:23 +01:00
# URL: http://freshmeat.net/projects/util-linux/
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2017-10-28 14:15:02 +02:00
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
2016-02-24 01:27:23 +01:00
)
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
2017-10-28 14:15:02 +02:00
cd util-linux-$surum
2016-02-24 01:27:23 +01:00
mkdir -pv $PKG/var/lib/hwclock
./configure ADJTIME_PATH=/var/lib/hwclock/adjtime \
2017-10-28 14:15:02 +02:00
--docdir=/usr/share/doc/$isim-$surum \
2016-02-24 01:27:23 +01:00
--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
2016-03-07 13:45:49 +01:00
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
2016-02-24 01:27:23 +01:00
}