mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
tig: Update recipe and version
It doesn't seem to build with gcc2. We probably want to have it as /bin/tig anyway...
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
DESCRIPTION="Tig is a text-mode git repository browser"
|
||||
HOMEPAGE="http://jonas.nitro.dk/tig/"
|
||||
SRC_URI="http://jonas.nitro.dk/tig/releases/tig-0.16.tar.gz"
|
||||
CHECKSUM_MD5="684572d93033d6cbfc5ee71cffe02935"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="untested"
|
||||
DEPEND="sys-libs/ncurses >= 5.7"
|
||||
BUILD()
|
||||
{
|
||||
cd tig-0.16
|
||||
libtoolize --force --copy --install
|
||||
autoreconf -i
|
||||
./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd tig-0.16
|
||||
make install
|
||||
}
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2006-2010 Jonas Fonseca"
|
||||
60
dev-vcs/tig/tig-2.0.2.recipe
Normal file
60
dev-vcs/tig/tig-2.0.2.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user