CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / cpio / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: A tool to copy files into or out of a cpio or tar archive
2# URL: http://www.gnu.org/software/cpio/
3# Maintainer: CRUX System Team, core-ports at crux dot nu
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
6dca1d21
JB
5
6name=cpio
7d238b28 7version=2.11
6d8f1a43 8release=2
7d238b28
VM
9source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
10 cpio-2.11-stat.patch)
6dca1d21
JB
11
12build() {
13 cd $name-$version
6d8f1a43 14
7d238b28 15 patch -p1 -i $SRC/cpio-2.11-stat.patch
6d8f1a43
VM
16 # fix for glibc 'gets' removal
17 sed -i -e '/gets is a/d' gnu/stdio.in.h
18
6dca1d21
JB
19 ./configure --build=$CHOST \
20 --host=$CTARGET \
21 --prefix=/usr \
22 --mandir=/usr/man \
23 --disable-nls
6d8f1a43 24
6dca1d21
JB
25 make
26 make DESTDIR=$PKG install
6d8f1a43 27
6dca1d21
JB
28 rm -r $PKG/usr/{share,libexec}
29 rm $PKG/usr/man/man1/mt.1
30}