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