mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
xdelta: new recipe [GCI 2016] (#898)
This commit is contained in:
59
dev-util/xdelta/xdelta-3.1.0.recipe
Normal file
59
dev-util/xdelta/xdelta-3.1.0.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user