wok-current view netsurf/receipt @ rev 22652
updated docbook-xsl-ns (1.76.1 -> 1.79.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 14 14:54:26 2020 +0100 (2020-01-14) |
parents | e6a4cd87fdcb |
children | 241fb98cab1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="3.9"
5 CATEGORY="network"
6 TAGS="web-browser"
7 SHORT_DESC="A simple, fast and light web browser using GTK."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.netsurf-browser.org/"
12 TARBALL="$PACKAGE-all-$VERSION.tar.gz"
13 WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL"
15 DEPENDS="gtk+ hubbub jpeg lcms libcss libcurl libglade libgsf libmng libnsgif
16 libparserutils libpng librsvg libssl libxml2 zlib"
17 BUILD_DEPENDS="$DEPENDS bison curl-dev expat-dev flex gperf gtk+-dev hubbub-dev
18 jpeg-dev lcms-dev lemon libcroco libcss-dev libglade-dev libmng-dev
19 libnsgif-dev libparserutils-dev libpng-dev librsvg-dev libwapcaplet-dev
20 libxml2-dev openssl-dev pango-dev perl-html-parser perl-html-tagset re2c
21 vim zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cp -a $stuff/Makefile.config .
28 # Fix install target
29 #sed -i 's/cp -vRL/cp -RL/' Makefile
30 #sed -i 's/cp -v/cp /' Makefile
32 make install \
33 DESTDIR=$DESTDIR \
34 PREFIX=/usr \
35 TARGET=gtk \
36 NETSURF_USE_WEBP=NO \
37 NETSURF_GTK_MAJOR=2 \
38 NETSURF_USE_VIDEO=NO
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 mkdir -p $fs/usr/lib/netsurf
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/netsurf $fs/usr/share
50 # Remove files to save some space
51 rm -rf $fs/usr/share/netsurf/docs
52 rm -rf $fs/usr/share/netsurf/*.xpm
53 rm -rf $fs/usr/share/netsurf/license
55 # Webhome
56 cp -a $stuff/welcome.* $fs/usr/share/netsurf
57 rm $fs/usr/share/netsurf/*/welcome.html
58 chown -R root.root $fs
59 }