wok-next annotate netsurf/receipt @ rev 16812
itstool: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 10 09:44:21 2014 +0200 (2014-07-10) |
parents | 91654f4ca530 |
children | 5dac990d45db |
rev | line source |
---|---|
pankso@2827 | 1 # SliTaz package receipt. |
pankso@2827 | 2 |
pankso@2827 | 3 PACKAGE="netsurf" |
pascal@15652 | 4 VERSION="2.9" |
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" |
pascal@15652 | 9 TARBALL="$PACKAGE-$VERSION-full-src.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 \ |
pankso@16258 | 19 zlib-dev libxml2-dev libcroco" |
pankso@2827 | 20 |
pankso@2827 | 21 # Rules to configure and make the package. |
pankso@2827 | 22 compile_rules() |
pankso@2827 | 23 { |
pankso@4175 | 24 mv netsurf $PACKAGE-$VERSION 2>/dev/null |
pankso@2827 | 25 cd $src |
slaxemulator@9700 | 26 cp -a $stuff/Makefile.config . |
erjo@5932 | 27 |
erjo@5932 | 28 # Fix install target |
erjo@5932 | 29 sed -i 's/cp -vRL/cp -RL/' Makefile |
erjo@5932 | 30 sed -i 's/cp -v/cp /' Makefile |
erjo@5932 | 31 |
pascal@15002 | 32 make install DESTDIR=$DESTDIR PREFIX=/usr |
pankso@2827 | 33 } |
pankso@2827 | 34 |
pankso@2827 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2827 | 36 genpkg_rules() |
pankso@2827 | 37 { |
erjo@5932 | 38 mkdir -p $fs/usr/share \ |
erjo@5932 | 39 $fs/usr/lib/netsurf |
erjo@5932 | 40 |
pascal@15002 | 41 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 42 cp -a $install/usr/share/netsurf $fs/usr/share |
erjo@5932 | 43 |
pankso@2827 | 44 # Remove files to save some space |
pankso@2827 | 45 rm -rf $fs/usr/share/netsurf/docs |
pankso@2827 | 46 rm -rf $fs/usr/share/netsurf/*.xpm |
pankso@2827 | 47 rm -rf $fs/usr/share/netsurf/license |
pankso@2835 | 48 # Webhome |
pankso@2835 | 49 cp -a stuff/webhome $fs/usr/share |
pankso@2835 | 50 chown -R root.root $fs |
pankso@2827 | 51 } |