wok annotate netsurf/receipt @ rev 16849
netsurf: partially undo prev.commit: add perl parser due to log
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Jul 13 02:17:24 2014 +0300 (2014-07-13) |
parents | a4fddc04136f |
children | 4ec7248ecd3a |
rev | line source |
---|---|
pankso@2827 | 1 # SliTaz package receipt. |
pankso@2827 | 2 |
pankso@2827 | 3 PACKAGE="netsurf" |
psychomaniak@16836 | 4 VERSION="3.1" |
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" |
pascal@15002 | 12 TAGS="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@16849 | 30 #sed -i 's/cp -vRL/cp -RL/' Makefile |
psychomaniak@16849 | 31 #sed -i 's/cp -v/cp /' Makefile |
psychomaniak@16845 | 32 #make install DESTDIR=$DESTDIR PREFIX=/usr |
psychomaniak@16845 | 33 make install DESTDIR=$DESTDIR install |
pankso@2827 | 34 } |
pankso@2827 | 35 |
pankso@2827 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2827 | 37 genpkg_rules() |
pankso@2827 | 38 { |
erjo@5932 | 39 mkdir -p $fs/usr/share \ |
erjo@5932 | 40 $fs/usr/lib/netsurf |
psychomaniak@16845 | 41 cp -a $install/bin $fs/usr |
psychomaniak@16845 | 42 #cp -a $install/usr/bin $fs/usr |
psychomaniak@16845 | 43 #cp -a $install/usr/share/netsurf $fs/usr/share |
psychomaniak@16845 | 44 cp -a $install/share/netsurf $fs/usr/share |
erjo@5932 | 45 |
pankso@2827 | 46 # Remove files to save some space |
pankso@2827 | 47 rm -rf $fs/usr/share/netsurf/docs |
pankso@2827 | 48 rm -rf $fs/usr/share/netsurf/*.xpm |
pankso@2827 | 49 rm -rf $fs/usr/share/netsurf/license |
pankso@2835 | 50 # Webhome |
pankso@2835 | 51 cp -a stuff/webhome $fs/usr/share |
pankso@2835 | 52 chown -R root.root $fs |
pankso@2827 | 53 } |