wok view netsurf/receipt @ rev 8221
imported patch cleanup_inprogress/slitaz-i18n.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 1798f81abf2e |
children | 16c6a94a2c94 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="2.6"
5 CATEGORY="network"
6 SHORT_DESC="A simple, fast and light web browser using GTK."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libssl libpng jpeg lcms libparserutils hubbub libnsgif \
9 libcurl libglade librsvg libgsf libcss libmng zlib libxml2"
10 BUILD_DEPENDS="$DEPENDS gtk+-dev libglade-dev openssl-dev libpng-dev jpeg-dev lcms-dev \
11 re2c lemon libparserutils-dev hubbub-dev libnsgif-dev librsvg-dev curl-dev pango-dev \
12 libcss-dev libwapcaplet-dev libmng-dev zlib-dev libxml2-dev"
13 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
14 WEB_SITE="http://www.netsurf-browser.org/"
15 WGET_URL="http://www.netsurf-browser.org/downloads/releases/$TARBALL"
16 TAGS="browser"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv netsurf $PACKAGE-$VERSION 2>/dev/null
22 cd $src
23 cp -a ../stuff/Makefile.config .
25 # Fix install target
26 sed -i 's/cp -vRL/cp -RL/' Makefile
27 sed -i 's/cp -v/cp /' Makefile
28 sed -i 's|/usr/local|/usr|' Makefile.defaults
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share \
37 $fs/usr/lib/netsurf
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $_pkg/usr/share/netsurf $fs/usr/share
43 # Remove files to save some space
44 rm -rf $fs/usr/share/netsurf/docs
45 rm -rf $fs/usr/share/netsurf/*.xpm
46 rm -rf $fs/usr/share/netsurf/license
47 # Webhome
48 cp -a stuff/webhome $fs/usr/share
49 chown -R root.root $fs
50 }