diff options
author | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
---|---|---|
committer | Johannes Winkelmann <jw@smts.ch> | 2006-02-23 15:26:10 +0000 |
commit | e3afe2298e821d7f5860128720e665d8fb3bd641 (patch) | |
tree | bfb499432688352b1140b13ad8252c8e4e739006 /cpio/Pkgfile | |
download | core-e3afe2298e821d7f5860128720e665d8fb3bd641.tar.gz core-e3afe2298e821d7f5860128720e665d8fb3bd641.tar.xz |
create branch for 2.2
Diffstat (limited to 'cpio/Pkgfile')
-rw-r--r-- | cpio/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cpio/Pkgfile b/cpio/Pkgfile new file mode 100644 index 00000000..69038141 --- /dev/null +++ b/cpio/Pkgfile @@ -0,0 +1,20 @@ +# 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é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 +} |