Files
haikuports/dev-vcs/fossil/fossil-2.6.recipe
2018-09-01 16:27:32 -04:00

62 lines
1.4 KiB
Bash

SUMMARY="A tool for distributed software configuration management"
DESCRIPTION="Fossil is a simple, high-reliability, distributed version \
control system like Git and Mercurial, but Fossil also supports distributed \
bug tracking, distributed wiki, and a distributed blog mechanism all in a \
single integrated package.
Additionally, Fossil also has a built-in and easy-to-use web interface that \
simplifies project tracking and promotes situational awareness."
HOMEPAGE="https://www.fossil-scm.org/"
COPYRIGHT="2007-2018 D. Richard Hipp"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://www.fossil-scm.org/index.html/uv/fossil-src-$portVersion.tar.gz"
CHECKSUM_SHA256="76a794555918be179850739a90f157de0edb8568ad552b4c40ce186c79ff6ed9"
SOURCE_DIR="fossil-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
fossil$secondaryArchSuffix = $portVersion
cmd:fossil = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
TEST_REQUIRES="
cmd:tclsh
"
BUILD()
{
# not an autotools configure
./configure --prefix=$prefix
make
}
INSTALL()
{
make install
install -d $manDir/man1
install -t $manDir/man1 -m 444 fossil.1
}
TEST()
{
make test
}