CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openssl: fixed use of CFLAGS
[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
6dca1d21 8release=1
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
7d238b28 14 patch -p1 -i $SRC/cpio-2.11-stat.patch
6dca1d21
JB
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --disable-nls
20 make
21 make DESTDIR=$PKG install
22 rm -r $PKG/usr/{share,libexec}
23 rm $PKG/usr/man/man1/mt.1
24}