Files
haikuports/app-arch/sharutils/sharutils-4.15.2.recipe
2015-07-02 11:13:12 -04:00

65 lines
1.8 KiB
Bash

SUMMARY="sharutils"
DESCRIPTION="
GNU shar makes so-called shell archives out of many files, preparing them for \
transmission by electronic mail services. A shell archive is a collection of \
files that can be unpacked by /bin/sh. A wide range of features provide \
extensive flexibility in manufacturing shars and in specifying shar smartness. \
For example, shar may compress files, uuencode binary files, split long files \
and construct multi-part mailings, ensure correct unsharing order, and provide \
simplistic checksums.
GNU unshar scans a set of mail messages looking for the start of shell \
archives. It will automatically strip off the mail headers and other \
introductory text. The archive bodies are then unpacked by a copy of the \
shell. unshar may also process files containing concatenated shell archives.
"
HOMEPAGE="http://www.gnu.org/software/sharutils/"
LICENSE="GNU GPL v3"
COPYRIGHT="1990-2013 Free Software Foundation, Inc."
SOURCE_URI="http://ftp.gnu.org/gnu/sharutils/sharutils-$portVersion.tar.gz"
CHECKSUM_SHA256="ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PATCHES="sharutils-$portVersion.patchset"
PROVIDES="
sharutils$secondaryArchSuffix = $portVersion
cmd:shar$secondaryArchSuffix = $portVersion
cmd:unshar$secondaryArchSuffix = $portVersion
cmd:uudecode$secondaryArchSuffix = $portVersion
cmd:uuencode$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:make
cmd:which
cmd:bison
cmd:makeinfo
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
"
BUILD()
{
runConfigure ./configure \
--disable-nls
make
}
INSTALL()
{
make install
rm -rf $libDir
}