wok-6.x view netsurf/receipt @ rev 4011
linux: add CONFIG_PPP_FILTER
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 02 22:49:00 2009 +0200 (2009-09-02) |
parents | aee6cba53f3b |
children | 5a780c98c23b |
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="2.0"
5 CATEGORY="network"
6 SHORT_DESC="A simple, fast and light web browser using GTK."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ openssl libpng jpeg lcms libparserutils hubbub libnsgif \
9 libcurl libglade"
10 BUILD_DEPENDS="gtk+-dev openssl-dev libpng-dev jpeg-dev lcms-dev re2c lemon \
11 libparserutils-dev hubbub-dev libnsgif-dev"
12 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
13 WEB_SITE="http://www.netsurf-browser.org/"
14 WGET_URL="http://www.netsurf-browser.org/downloads/releases/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cp -a ../stuff/Makefile.defaults .
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share $fs/usr/bin $fs/usr/lib/netsurf
28 cp -RL $src/gtk/res $fs/usr/share/netsurf
29 cp $src/nsgtk $fs/usr/lib/netsurf
30 cp $src/netsurf $fs/usr/bin
31 sed -i -e 's|NETSURFRES=`dirname $0`/gtk/res/|NETSURFRES=/usr/share/netsurf/res/|' \
32 $fs/usr/bin/netsurf
33 sed -i -e 's|exec `dirname $0`/nsgtk "$@" 2>$LOG|exec /usr/lib/netsurf/nsgtk "$@" 2>$LOG|' \
34 $fs/usr/bin/netsurf
35 # Remove files to save some space
36 rm -rf $fs/usr/share/netsurf/docs
37 rm -rf $fs/usr/share/netsurf/*.xpm
38 rm -rf $fs/usr/share/netsurf/license
39 # Webhome
40 cp -a stuff/webhome $fs/usr/share
41 chown -R root.root $fs
42 }