Files
haikuports/app-arch/cpio/cpio-2.11.recipe
2014-01-05 04:12:45 -08:00

45 lines
1.3 KiB
Plaintext

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"
SRC_URI="http://ftp.gnu.org/gnu/cpio/cpio-2.11.tar.gz"
CHECKSUM_MD5="1112bb6c45863468b5496ba128792f6c"
REVISION="1"
STATUS_HAIKU="broken"
DEPEND=""
BUILD()
{
cd cpio-2.11
# sed -i 's/restrict//g' gnu/string.in.h
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
infodir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/info \
mandir=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
localedir=`finddir B_COMMON_DATA_DIRECTORY`/locale
make
}
INSTALL()
{
cd cpio-2.11
make install
}
TEST()
{
cd cpio-2.11
make check
}
LICENSE="GNU GPL v3"
COPYRIGHT="1988-2010 Free Software Foundation, Inc."