mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
SUMMARY="Tig: text mode interface for git"
|
|
DESCRIPTION="Tig is a text-mode git repository browser"
|
|
HOMEPAGE="http://jonas.nitro.dk/tig/"
|
|
SRC_URI="http://jonas.nitro.dk/tig/releases/tig-2.0.2.tar.gz"
|
|
CHECKSUM_SHA256="b91cf0b3d044f643a1032c3a7c7cd855685bb8ead5f71f4703eb0c19238e273e"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2006-2014 Jonas Fonseca"
|
|
|
|
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="
|
|
tig$secondaryArchSuffix = $portVersion
|
|
cmd:tig$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libreadline$secondaryArchSuffix
|
|
cmd:git
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libreadline$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
cmd:asciidoc
|
|
cmd:autoconf
|
|
cmd:git
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="settings/tigrc keep-old"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
./autogen.sh
|
|
runConfigure ./configure
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|