milis/talimatname/temel/cpio/talimat

30 lines
636 B
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: Dosyaları bir cpio veya tar arşivinin içine veya dışına kopyalar.
# URL: http://www.gnu.org/software/cpio/
# Paketçi: milisarge@gmail.com
# Gerekler:
# Grup: temel
isim=cpio
surum=2.11
devir=1
kaynak=( http://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.bz2)
derle() {
cd $isim-$surum
sed -i -e '/gets is a/d' gnu/stdio.in.h
./configure \
--prefix=/usr \
--bindir=/bin \
--libexecdir=/tmp \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--enable-mt --with-rmt=/usr/sbin/rmt
make
make DESTDIR=$PKG install
if [ -f $PKG/usr/share/info/dir ]; then
rm $PKG/usr/share/info/dir
fi
rm -r $PKG/tmp
}