wok-next view links/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="links"
4 VERSION="2.14"
5 CATEGORY="network"
6 SHORT_DESC="Light and fast web browser"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://links.twibright.com/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/links.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://links.twibright.com/download/$TARBALL"
15 BUILD_DEPENDS="gpm-dev openssl-dev zlib-dev bzip2-dev xz-dev xorg-libX11-dev \
16 xorg-libXt-dev libpng16-dev libjpeg-turbo-dev tiff-dev directfb-dev"
17 SPLIT="links-dfb:dfb links-cli:cli"
19 case "$ARCH" in
20 arm*)
21 VERSION="2.7"
22 TARBALL="$PACKAGE-$VERSION.tar.gz"
23 WGET_URL="http://links.twibright.com/download/$TARBALL";;
24 esac
25 case "$SLITAZ_ARCH" in
26 arm*) VERSION="2.7";;
27 esac
29 compile_rules() {
30 case $SET in
31 '') SET_ARGS='--enable-graphics --without-directfb --with-x';;
32 dfb) SET_ARGS='--enable-graphics --with-directfb --without-x';;
33 cli) SET_ARGS='--disable-graphics';;
34 esac
36 ./configure \
37 $SET_ARGS \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install || return 1
42 install -Dm644 $src/graphics/links.xpm $install/usr/share/pixmaps/links.xpm
43 install -Dm644 $stuff/links.html $install/usr/share/webhome/links.html
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 links)
49 copy @std
50 DEPENDS="bzlib libgomp libjpeg-turbo liblzma libpng16 openssl tiff \
51 xorg-libX11 zlib"
52 SUGGESTED="gpm"
53 ;;
54 links-dfb)
55 copy @std
56 DEPENDS="bzlib directfb libgomp libjpeg-turbo liblzma libpng16 \
57 openssl tiff zlib"
58 PROVIDE="links"
59 ;;
60 links-cli)
61 copy @std
62 DEPENDS="bzlib liblzma openssl zlib"
63 PROVIDE="links"
64 ;;
65 esac
66 TAGS="web-browser"
67 }