# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem 1.0

name			cpio
version			2.10
categories		archivers
platforms		darwin
maintainers		mww
description		copies files into or out of a cpio or tar archives
long_description	GNU cpio copies files into or out of a cpio or tar \
				archive. The archive can be another file on the disk, a \
				magnetic tape, or a pipe.

homepage		http://www.gnu.org/software/cpio/cpio.html
master_sites	gnu
checksums           md5     edd8d956a5dfb9a3b308fa07f302f691 \
                    sha1    a87f85c23697163000c656db9eb26a348aa3397b \
                    rmd160  1bbc1b8c4cf59a74d542aabb410d4fe26b6cf180
use_bzip2		yes

depends_lib		port:gettext port:libiconv

configure.args	--program-prefix=gnu \
				--mandir=${prefix}/share/man \
				--infodir=${prefix}/share/info \
				--libexecdir=${prefix}/lib/${name}

test.run		yes
test.target		check

livecheck.type	regex
livecheck.url	http://ftp.gnu.org/gnu/cpio/?C=M&O=D
livecheck.regex	cpio-(\[0-9\]+\\.\[0-9\]+)

