mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
65 lines
1.9 KiB
Bash
65 lines
1.9 KiB
Bash
SUMMARY="Tools to code/encode shell archives"
|
|
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/"
|
|
COPYRIGHT="1990-2013 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="3"
|
|
SOURCE_URI="http://ftp.gnu.org/gnu/sharutils/sharutils-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ee336e68549664e7a19b117adf02edfdeac6307f22e5ba78baca457116914637"
|
|
PATCHES="sharutils-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
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:bison
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:makeinfo
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
touch doc/*.info
|
|
runConfigure ./configure \
|
|
--disable-nls
|
|
echo "#define HAVE_STDBOOL_H 1" >> config.h
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
rm -rf $libDir
|
|
}
|