summaryrefslogtreecommitdiff
path: root/repo/lynx/lynx.xibuild
blob: 1b1592d1a9a1a8eeb010847d1291e6dc10411be4 (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 openssl"

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 -R root $PKG_DEST/usr/share/doc/lynx-$PKG_VER/lynx_doc

}