summaryrefslogtreecommitdiff
blob: 3c03f7f3674f1cedbbf3a29e0df4a99b3dfd0538 (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
33
34
35
36
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Ryan Tolboom <ryan@intphsys.com>

S=${WORKDIR}/links-0.95
SRC_URI="http://artax.karlin.mff.cuni.cz/~mikulas/links/download/links-0.95.tar.gz"

HOMEPAGE="http://artax.karlin.mff.cuni.cz/~mikulas/links"

DESCRIPTION="A links like console-based web browser"

DEPEND="virtual/glibc
	>=sys-libs/gpm-1.19.3
	>=sys-libs/ncurses-5.1
	ssl? ( >=dev-libs/openssl-0.9.6 )"

src_compile() {
    local myconf
    if [ "`use ssl` " ]
    then
        myconf="--enable-ssl"
    else
	myconf="--disable-ssl"
    fi
    try ./configure --prefix=/usr --mandir=/usr/share/man ${myconf}
    try make

}


src_install() {

    try make DESTDIR=${D} install

    dodoc README SITES NEWS AUTHORS COPYING BUGS TODO

}