milis/talimatname/temel/cpio/talimat

29 lines
609 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: Copies files into or out of a cpio or tar archive.
# URL: http://www.gnu.org/software/cpio/
# Paketçi: milisarge@gmail.com
# Gerekler:
name=cpio
version=2.11
release=1
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
derle() {
cd $name-$version
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
}