Add recipe for cvsps.

This commit is contained in:
Adrien Destugues
2014-01-04 11:57:07 +01:00
parent b4304baa12
commit 3c931011aa

View File

@@ -0,0 +1,57 @@
SUMMARY="Generate patch sets from a CVS repository"
DESCRIPTION="
CVSps is a program for generating 'patchset' information from a CVS
repository. A patchset in this case is defined as a set of changes made
to a collection of files, and all committed at the same time (using a
single 'cvs commit' command). This information is valuable to seeing the
big picture of the evolution of a cvs project. While cvs tracks revision
information, it is often difficult to see what changes were committed
'atomically' to the repository.
"
HOMEPAGE="http://www.cobite.com/cvsps/"
COPYRIGHT="2001-2003 David Mansfield"
LICENSE="GNU GPL v2"
SRC_URI="http://www.cobite.com/cvsps/cvsps-2.2b1.tar.gz"
CHECKSUM_MD5="997580e8e283034995b9209076858c68"
REVISION="1"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
cvsps$secondaryArchSuffix = $portVersion
cmd:cvsps = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
CC="gcc -lnetwork" make $jobArgs
}
INSTALL()
{
# even when building as hybrid, we want this as cvsps, not cvsps-x86.
mkdir -p $prefix/bin
cp cvsps $prefix/bin
mkdir -p $manDir
cp cvsps.1 $manDir
}