0
0
Fork 0
haikuports/dev-vcs/fossil/fossil-2.17.recipe

63 lines
1.5 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, distributed forums, 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-2021 D. Richard Hipp"
LICENSE="BSD (2-clause)"
REVISION="1"
tag="f48180f2ff3169651a725396d4f7d667c99a92873b9c3df7eee2f144be7a0721"
SOURCE_URI="https://fossil-scm.org/home/tarball/$tag/fossil-src-$portVersion.tar.gz"
CHECKSUM_SHA256="5c7f1c73f7b5e2af24e10e40f0e07391909c1230b9e284a9d548059e7f377dbf"
SOURCE_DIR="fossil-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
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 $jobArgs
}
INSTALL()
{
make install
install -d $manDir/man1
install -t $manDir/man1 -m 444 fossil.1
}
TEST()
{
make test
}