CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
85282f2b49af2682504c1bab43afe2c46ac29567
[crossrootfs.git] / cpio / Pkgfile
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
4 # Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu
5
6 name=cpio
7 version=2.10
8 release=1
9 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
10
11 build() {
12 cd $name-$version
13 ./configure --build=$CHOST \
14 --host=$CTARGET \
15 --prefix=/usr \
16 --mandir=/usr/man \
17 --disable-nls
18 make
19 make DESTDIR=$PKG install
20 rm -r $PKG/usr/{share,libexec}
21 rm $PKG/usr/man/man1/mt.1
22 }