0
0
Fork 0
haikuports/app-arch/cpio/cpio-2.13.recipe

65 lines
1.4 KiB
Bash

SUMMARY="GNU cpio copies files into or out of a cpio or tar archive"
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.
GNU cpio supports the following archive formats: binary, old ASCII, \
new ASCII, crc, HPUX binary, HPUX old ASCII, old tar, and POSIX.1 tar. \
The tar format is provided for compatability with the tar program. \
By default, cpio creates binary format archives, for compatibility \
with older cpio programs. When extracting from archives, cpio automatically \
recognizes which kind of archive it is reading and can read archives created \
on machines with a different byte-order."
HOMEPAGE="http://www.gnu.org/software/cpio/cpio.html"
COPYRIGHT="1988-2010 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftp.gnu.org/gnu/cpio/cpio-$portVersion.tar.gz"
CHECKSUM_SHA256="e87470d9c984317f658567c03bfefb6b0c829ff17dbf6b0de48d71a4c8f3db88"
PATCHES="cpio-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
cpio = $portVersion
cmd:cpio
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
devel:libiconv
"
BUILD_PREREQUIRES="
haiku_devel
cmd:aclocal
cmd:autoconf
cmd:awk
cmd:bison
cmd:find
cmd:gcc
cmd:make
cmd:sed
cmd:sh
cmd:yacc
"
BUILD()
{
aclocal
autoreconf
autoconf
CFLAGS=-D_BSD_SOURCE runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}