links: Add updated patch and recipe

This commit is contained in:
François Revol
2013-12-13 00:37:45 +01:00
parent ea45b3079f
commit 5c126ba1d5
2 changed files with 1455 additions and 0 deletions

View File

@@ -0,0 +1,69 @@
SUMMARY="links web browser"
DESCRIPTION="links web browser"
HOMEPAGE="http://links.twibright.com/"
SRC_URI="http://links.twibright.com/download/links-2.8.tar.gz"
REVISION="1"
CHECKSUM_MD5="34c67f980105643fc6cd63a14acc626f"
LICENSE="GNU GPL v2"
COPYRIGHT="1999 - 2011 Mikulas Patocka
2000 - 2011 Petr Kulhavy, Karel Kulhavy, Martin Pergel"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
links$secondaryArchSuffix = $portVersion
cmd:links$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libpng$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
# lib:libtiff$secondaryArchSuffix
lib:libz$secondaryArchSuffix
openssl$secondaryArchSuffix >= 1.0.0
"
BUILD_REQUIRES="
# devel:libGL$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libpng$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
# devel:libtiff$secondaryArchSuffix
devel:libz$secondaryArchSuffix >= 1.2.8
openssl${secondaryArchSuffix}_devel >= 1.0.0
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:autoconf
cmd:libtool
cmd:aclocal
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
"
PATCHES="links-2.8.patch"
BUILD()
{
aclocal
automake --add-missing
autoheader
automake
autoconf
runConfigure ./configure \
--without-x \
--enable-graphics
make
}
INSTALL()
{
make install
addAppDeskbarSymlink $binDir/links Links
}

File diff suppressed because it is too large Load Diff