wok-current annotate netsurf/receipt @ rev 18909
Add gnubg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 22 21:29:18 2016 +0100 (2016-02-22) |
parents | 5d53e8ccbc8d |
children | 37c8a99e2b2c |
rev | line source |
---|---|
pankso@2827 | 1 # SliTaz package receipt. |
pankso@2827 | 2 |
pankso@2827 | 3 PACKAGE="netsurf" |
al@17864 | 4 VERSION="3.3" |
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@16845 | 25 #mv netsurf $PACKAGE-$VERSION 2>/dev/null |
pankso@2827 | 26 cd $src |
psychomaniak@16848 | 27 cp -a $stuff/Makefile.config . |
erjo@5932 | 28 |
erjo@5932 | 29 # Fix install target |
psychomaniak@16852 | 30 #sed -i 's/cp -vRL/cp -RL/' Makefile |
psychomaniak@16852 | 31 #sed -i 's/cp -v/cp /' Makefile |
psychomaniak@16854 | 32 make install DESTDIR=$DESTDIR PREFIX=/usr \ |
psychomaniak@16854 | 33 TARGET=gtk \ |
psychomaniak@16854 | 34 NETSURF_USE_WEBP=NO \ |
psychomaniak@16854 | 35 NETSURF_GTK_MAJOR=2 \ |
psychomaniak@16854 | 36 NETSURF_USE_VIDEO=NO |
pankso@2827 | 37 } |
pankso@2827 | 38 |
pankso@2827 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2827 | 40 genpkg_rules() |
pankso@2827 | 41 { |
erjo@5932 | 42 mkdir -p $fs/usr/share \ |
erjo@5932 | 43 $fs/usr/lib/netsurf |
psychomaniak@16852 | 44 cp -a $install/usr/bin $fs/usr |
psychomaniak@16852 | 45 cp -a $install/usr/share/netsurf $fs/usr/share |
erjo@5932 | 46 |
pankso@2827 | 47 # Remove files to save some space |
pankso@2827 | 48 rm -rf $fs/usr/share/netsurf/docs |
pankso@2827 | 49 rm -rf $fs/usr/share/netsurf/*.xpm |
pankso@2827 | 50 rm -rf $fs/usr/share/netsurf/license |
pankso@2835 | 51 # Webhome |
pankso@2835 | 52 cp -a stuff/webhome $fs/usr/share |
pankso@2835 | 53 chown -R root.root $fs |
pankso@2827 | 54 } |