2017-10-27 21:56:50 +02:00
|
|
|
|
# Tanım: Copies files into or out of a cpio or tar archive.
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.gnu.org/software/cpio/
|
2017-10-27 21:56:50 +02:00
|
|
|
|
# Paketçi: milisarge@gmail.com
|
|
|
|
|
# Gerekler:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=cpio
|
|
|
|
|
version=2.11
|
|
|
|
|
release=1
|
|
|
|
|
|
2017-10-27 21:56:50 +02:00
|
|
|
|
source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
|
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
|
|
|
|
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
|
|
|
|
|
}
|