wok-next view links/receipt @ rev 21072

Update Xorg packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 20 17:55:43 2018 +0200 (2018-12-20)
parents d5aab818505e
children 75632eca5b07
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="bzlib libgomp libjpeg-turbo liblzma libpng openssl tiff libx11 \
24 zlib"
25 DEPENDS_dfb="bzlib directfb libgomp libjpeg-turbo liblzma libpng openssl tiff \
26 zlib"
27 DEPENDS_cli="bzlib 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 }