21 lines
526 B
Plaintext
21 lines
526 B
Plaintext
|
# Description: A tool to copy files into or out of a cpio or tar archive
|
|||
|
# URL: http://www.gnu.org/software/cpio/
|
|||
|
# Maintainer: Per Lid<69>n <per@fukt.bth.se>
|
|||
|
|
|||
|
name=cpio
|
|||
|
version=2.6
|
|||
|
release=2
|
|||
|
source=(http://mirrors.sunsite.dk/gnu/$name/$name-$version.tar.bz2 \
|
|||
|
$name-$version.patch)
|
|||
|
|
|||
|
build() {
|
|||
|
cd $name-$version
|
|||
|
patch -p1 < ../$name-$version.patch
|
|||
|
./configure --prefix=/usr
|
|||
|
make
|
|||
|
make DESTDIR=$PKG install
|
|||
|
rm -rf $PKG/usr/{share,info,libexec} \
|
|||
|
$PKG/usr/bin/mt \
|
|||
|
$PKG/usr/man/man1/mt.1
|
|||
|
}
|