mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
73 lines
1.7 KiB
Bash
73 lines
1.7 KiB
Bash
SUMMARY="A command line WebDAV client"
|
|
DESCRIPTION="It supports file upload, download, on-screen display, namespace \
|
|
operations (move/copy), collection creation and deletion, and locking \
|
|
operations."
|
|
HOMEPAGE="https://notroj.github.io/cadaver/"
|
|
COPYRIGHT="1998-2008 Joe Orton
|
|
2002-2003 GRASE Lab, UCSC"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://notroj.github.io/cadaver/cadaver-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="46cff2f3ebd32cd32836812ca47bcc75353fc2be757f093da88c0dd8f10fd5f6"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandBinDir=$binDir
|
|
commandSuffix=$secondaryArchSuffix
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
cadaver$secondaryArchSuffix = $portVersion
|
|
cmd:cadaver$commandSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libneon$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
lib:libssl$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libneon$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix >= 8
|
|
devel:libssl$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:bison
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:neon_config
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
defineDebugInfoPackage cadaver$secondaryArchSuffix \
|
|
"$commandBinDir"/cadaver
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs binDir ./configure \
|
|
--bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|