mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
60 lines
1.2 KiB
Bash
60 lines
1.2 KiB
Bash
SUMMARY="A binary diff tool implementing VCDIFF"
|
|
DESCRIPTION="Xdelta is a tool and library for differential compression. Xdelta \
|
|
release version 3 supports VCDIFF encoding and decoding."
|
|
HOMEPAGE="http://xdelta.org/"
|
|
COPYRIGHT="2001-2015 Josh MacDonald"
|
|
LICENSE="Apache v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/jmacd/xdelta/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="7515cf5378fca287a57f4e2fee1094aabc79569cfe60d91e06021a8fd7bae29d"
|
|
SOURCE_DIR="xdelta-$portVersion/xdelta3"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
if [ "$targetArchitecture" != x86_gcc2 ]; then
|
|
commandBinDir=$binDir
|
|
else
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
xdelta$secondaryArchSuffix = $portVersion
|
|
cmd:xdelta3 = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:liblzma$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:liblzma$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoreconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf --install
|
|
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
xdelta3 test || true
|
|
}
|