summaryrefslogtreecommitdiff
path: root/repo/apps/lynx.xibuild
blob: d5a0dab21760016ba928e71cdee49a55c287a78b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh

MAKEDEPS="make "
DEPS="libidn libressl"

PKG_VER=2.8.9rel.1

SOURCE=https://invisible-mirror.net/archives/lynx/tarballs/lynx$PKG_VER.tar.bz2
ADDITIONAL="
        https://www.linuxfromscratch.org/patches/blfs/svn/lynx-$PKG_VER-security_fix-1.patch
    "

DESC="A text only browser for the WWW"

build () {
    ./configure --prefix=/usr          \
            --sysconfdir=/etc/lynx \
            --datadir=/usr/share/doc/lynx-$PKG_VER \
            --with-zlib            \
            --with-bzlib           \
            --with-ssl             \
            --with-screen=ncursesw \
            --enable-locale-charset &&
    make

}

package () {
    make DESTDIR=$PKG_DEST install-full
    chgrp -v -R root $PKG_DEST/usr/share/doc/lynx-$PKG_VER/lynx_doc

}