wok view netsurf/receipt @ rev 16024

spk: add to cross arch's
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 06 23:00:20 2014 +0100 (2014-03-06)
parents 7896f0694ef6
children e62fe73c97ae
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="2.9"
5 CATEGORY="network"
6 SHORT_DESC="A simple, fast and light web browser using GTK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION-full-src.tar.gz"
10 WEB_SITE="http://www.netsurf-browser.org/"
11 WGET_URL="http://download.netsurf-browser.org/netsurf/releases/source-full/$TARBALL"
12 TAGS="browser"
14 DEPENDS="gtk+ libssl libpng jpeg lcms libparserutils hubbub libnsgif \
15 libcurl libglade librsvg libgsf libcss libmng zlib libxml2"
16 BUILD_DEPENDS="$DEPENDS gtk+-dev libglade-dev openssl-dev libpng-dev jpeg-dev lcms-dev \
17 re2c lemon libparserutils-dev hubbub-dev libnsgif-dev librsvg-dev curl-dev pango-dev \
18 libcss-dev libwapcaplet-dev libmng-dev zlib-dev libxml2-dev libcroco"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mv netsurf $PACKAGE-$VERSION 2>/dev/null
24 cd $src
25 cp -a $stuff/Makefile.config .
27 # Fix install target
28 sed -i 's/cp -vRL/cp -RL/' Makefile
29 sed -i 's/cp -v/cp /' Makefile
31 make install DESTDIR=$DESTDIR PREFIX=/usr
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share \
39 $fs/usr/lib/netsurf
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/share/netsurf $fs/usr/share
45 # Remove files to save some space
46 rm -rf $fs/usr/share/netsurf/docs
47 rm -rf $fs/usr/share/netsurf/*.xpm
48 rm -rf $fs/usr/share/netsurf/license
49 # Webhome
50 cp -a stuff/webhome $fs/usr/share
51 chown -R root.root $fs
52 }