tig: bump to 2.2.1, add manual, install cmd: to bin. (#872)

This commit is contained in:
zzzzzzzzz
2016-11-30 23:31:36 +01:00
committed by fbrosson
parent 237454c766
commit 116da1cac3

View File

@@ -3,19 +3,26 @@ DESCRIPTION="
Tig functions mainly as a git repository browser. It can also help in the \
staging changes for commit at chunk level and act as a pager for output \
different git commands."
HOMEPAGE="http://jonas.nitro.dk/tig/"
SOURCE_URI="http://jonas.nitro.dk/tig/releases/tig-2.1.tar.gz"
CHECKSUM_SHA256="306287f684f57563a53abf1cf46149e0d30c6b500fbc0c39e9bc059506373cb0"
REVISION="1"
HOMEPAGE="http://jonas.nitro.dk/tig/
https://jonas.github.io/tig/"
COPYRIGHT="2006-2016 Jonas Fonseca"
LICENSE="GNU GPL v2"
COPYRIGHT="2006-2014 Jonas Fonseca"
REVISION="1"
SOURCE_URI="https://github.com/jonas/tig/releases/download/tig-$portVersion/tig-$portVersion.tar.gz"
CHECKSUM_SHA256="0b48080896de59179c45c980080b4b414bb235df65ad08d661a9c9e169c3fa71"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
if [ "$targetArchitecture" != "x86_gcc2" ]; then
commandBinDir=$binDir
else
commandBinDir=$prefix/bin
fi
PROVIDES="
tig$secondaryArchSuffix = $portVersion
cmd:tig$secondaryArchSuffix = $portVersion
cmd:tig = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -24,6 +31,7 @@ REQUIRES="
lib:libreadline$secondaryArchSuffix
cmd:git
"
BUILD_REQUIRES="
devel:libiconv$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
@@ -33,8 +41,9 @@ BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:asciidoc
cmd:autoconf
cmd:find
cmd:git
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
@@ -46,11 +55,22 @@ BUILD()
{
libtoolize --force --copy --install
./autogen.sh
runConfigure ./configure
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
make
}
INSTALL()
{
make install
# temporary solution because of xmlto deps failing
mkdir -p $manDir/man{1,5,7}
cp -af tig.1 $manDir/man1
cp -af tigrc.5 $manDir/man5
cp -af tigmanual.7 $manDir/man7
}
TEST()
{
make test
}