wok-next view links/receipt @ rev 21718

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 29 08:19:44 2020 +0000 (2020-07-29)
parents 75632eca5b07
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="links"
4 VERSION="2.17"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browser"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://links.twibright.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/links.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://links.twibright.com/download/$TARBALL"
14 TARBALL_SHA1="296670173368f1962c25604e2bdb78cf8d8d33e4"
16 BUILD_DEPENDS="gpm-dev openssl-dev zlib-dev bzip2-dev xz-dev libx11-dev \
17 libxt-dev libpng-dev libjpeg-turbo-dev tiff-dev directfb-dev"
18 SPLIT="$PACKAGE-dfb:dfb $PACKAGE-cli:cli"
20 COPY_dfb="@std"
21 COPY_cli="@std"
23 DEPENDS_std="libbzip2 libgomp libjpeg-turbo liblzma libpng openssl libtiff libx11 \
24 zlib"
25 DEPENDS_dfb="libbzip2 directfb libgomp libjpeg-turbo liblzma libpng openssl \
26 libtiff zlib"
27 DEPENDS_cli="libbzip2 liblzma openssl zlib"
29 SUGGESTED_std="gpm"
30 PROVIDE_dfb="links"
31 PROVIDE_cli="links"
33 TAGS="web-browser"
35 compile_rules() {
36 case $SET in
37 '') SET_ARGS='--enable-graphics --without-directfb --with-x';;
38 dfb) SET_ARGS='--enable-graphics --with-directfb --without-x';;
39 cli) SET_ARGS='--disable-graphics';;
40 esac
42 ./configure \
43 $SET_ARGS \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$install install || return 1
48 install -Dm644 $src/graphics/links.xpm $install/usr/share/pixmaps/links.xpm
49 install -Dm644 $stuff/links.html $install/usr/share/webhome/links.html
50 }