wok view netsurf/receipt @ rev 25208

updated python-numpy (1.16.4 -> 1.16.6)
author Hans-G?nter Theisgen
date Wed Jul 13 14:56:01 2022 +0100 (2022-07-13)
parents 3038c692c808
children eaa4b9eff943
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
27 sed '/netsurf-all-[0-9]/!d;/tar/!d;s|.*netsurf-all-||;s|.tar.*||' | sort -Vr | sed q
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 cp -a $stuff/Makefile.config .
35 # Fix install target
36 #sed -i 's/cp -vRL/cp -RL/' Makefile
37 #sed -i 's/cp -v/cp /' Makefile
39 make install \
40 DESTDIR=$DESTDIR \
41 PREFIX=/usr \
42 TARGET=gtk \
43 NETSURF_USE_WEBP=NO \
44 NETSURF_GTK_MAJOR=2 \
45 NETSURF_USE_VIDEO=NO
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 mkdir -p $fs/usr/share
52 mkdir -p $fs/usr/lib/netsurf
54 cp -a $install/usr/bin $fs/usr
55 cp -a $install/usr/share/netsurf $fs/usr/share
57 # Remove files to save some space
58 rm -rf $fs/usr/share/netsurf/docs
59 rm -rf $fs/usr/share/netsurf/*.xpm
60 rm -rf $fs/usr/share/netsurf/license
62 # Webhome
63 cp -a $stuff/welcome.* $fs/usr/share/netsurf
64 rm $fs/usr/share/netsurf/*/welcome.html
65 chown -R root.root $fs
66 }