mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
78 lines
1.6 KiB
Bash
78 lines
1.6 KiB
Bash
SUMMARY="A text-mode web browser"
|
|
DESCRIPTION="Lynx is a highly configurable console-based web browser with SSL \
|
|
support."
|
|
HOMEPAGE="http://lynx.invisible-island.net/"
|
|
COPYRIGHT="1997-2016 Thomas E. Dickey"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://invisible-mirror.net/archives/lynx/tarballs/lynx$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="2a1092f2cde76f109e4f1df1760c1d2a8792ba7018ab7ff3cc2b01d14e0c15b3"
|
|
SOURCE_DIR="lynx$portVersion"
|
|
PATCHES="lynx-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
lynx = $portVersion
|
|
cmd:lynx = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
lib:libz
|
|
lib:libiconv
|
|
lib:libncurses
|
|
lib:libssl
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libz >= 1.2.8
|
|
devel:libiconv
|
|
devel:libncurses
|
|
devel:libssl
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:ar
|
|
cmd:bison
|
|
cmd:bzip2
|
|
cmd:cmp
|
|
cmd:ctags
|
|
cmd:gzip
|
|
cmd:make
|
|
cmd:tar
|
|
cmd:ranlib
|
|
cmd:gcc
|
|
cmd:ld
|
|
"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/lynx.lss keep-old
|
|
settings/lynx.cfg keep-old
|
|
"
|
|
USER_SETTINGS_FILES="
|
|
settings/lynx.lss template data/lynx/lynx.lss.default
|
|
settings/lynx.cfg template data/lynx/lynx.cfg.default
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs "docDir" ./configure --with-ssl
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install install-help install-doc
|
|
|
|
sed -i \
|
|
-e "s,^\(HELPFILE:file://localhost\)$dataDir/,\1/system/data/," \
|
|
-e "s,^STARTFILE:http,#&," \
|
|
-e "/^#STARTFILE:file/ a \
|
|
STARTFILE:file://localhost/system/data/lynx_help/about_lynx.html" \
|
|
$settingsDir/lynx.cfg
|
|
|
|
mkdir -p $dataDir/lynx
|
|
cp $settingsDir/lynx.lss $dataDir/lynx/lynx.lss.default
|
|
cp $settingsDir/lynx.cfg $dataDir/lynx/lynx.cfg.default
|
|
}
|