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.
53 lines
1.1 KiB
Bash
53 lines
1.1 KiB
Bash
SUMMARY="Compression utility for zip archives"
|
|
DESCRIPTION="Zip is a compression and packaging utility with high \
|
|
portability. It supports password-based encryption of files and filenames, \
|
|
incremental backups and multi-part archives."
|
|
HOMEPAGE="http://www.info-zip.org/Zip.html"
|
|
COPYRIGHT="1990-2008 Info-ZIP"
|
|
LICENSE="Info-ZIP"
|
|
REVISION="4"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/infozip/Zip%203.x%20%28latest%29/3.0/zip30.tar.gz"
|
|
CHECKSUM_SHA256="f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369"
|
|
SOURCE_DIR="zip30"
|
|
PATCHES="$portName-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
$portName = $portVersion
|
|
cmd:zip = $portVersion
|
|
cmd:zipcloak = $portVersion
|
|
cmd:zipnote = $portVersion
|
|
cmd:zipsplit = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libz
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sh unix/configure \
|
|
&& echo LFLAGS2=\"-lbe\" >> flags \
|
|
&& make -f unix/Makefile generic MANDIR=$manDir/man1
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -f unix/Makefile install PREFIX=$prefix \
|
|
BINDIR=$binDir \
|
|
INCLUDEDIR=$includeDir \
|
|
LIBDIR=$libDir \
|
|
MANDIR=$manDir/man1
|
|
}
|