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