41 lines
1.1 KiB
Text
41 lines
1.1 KiB
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=lynx
|
|
version=2.8.9.19
|
|
build=2sml
|
|
homepage="https://lynx.invisible-island.net"
|
|
desc="A text-mode web browser"
|
|
requires="zlib netbsd-curses openssl libidn"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version-dev
|
|
|
|
tar xf $srcdir/$app-$version-dev.tar.?z
|
|
cd $app-$version-dev
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/lynx-resize.patch
|
|
sed -e 's;__DATE__;"01.01.18";' -e 's;__TIME__;"00:00:00";' -i src/LYMain.c
|
|
sed -i 's/define ACCEPT_ALL_COOKIES FALSE/define ACCEPT_ALL_COOKIES TRUE/' userdefs.h
|
|
}
|
|
|
|
build() {
|
|
LIBS="-lcurses -lterminfo -lz" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-ssl \
|
|
--enable-ipv6
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
900aa23d2bb93fde73f47aef4df08e4057ab1923174d0de87e41d8e15781d746087e81c5a4decaeedc11043232aef24a500814b5c0555b9fde7722a0e998ae32 lynx-2.8.9.19-dev.tar.lz
|
|
5ac19d9aaee1f27958f922509dfb27157fed7e0a9a6722dd0c8c2332c88192beeead75ba5503901c1d70c2e45056d68d5258b5c06759d6d8ef8ab4be73ec9ecf lynx-resize.patch
|
|
"
|