Files
haikuports/app-arch/cpio/cpio-2.12.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

64 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="2"
SOURCE_URI="http://ftp.gnu.org/gnu/cpio/cpio-$portVersion.tar.gz"
CHECKSUM_SHA256="08a35e92deb3c85d269a0059a27d4140a9667a6369459299d08c17f713a92e73"
PATCHES="cpio-$portVersion.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
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:sh
cmd:yacc
"
BUILD()
{
aclocal
autoreconf
autoconf
CFLAGS=-D_BSD_SOURCE runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}