wok-current view netsurf/receipt @ rev 16298

Up: xfce4-dev-tools (4.11.0)
author Alexander Medvedev <devl547@gmail.com>
date Mon Apr 07 08:07:32 2014 +0000 (2014-04-07)
parents 91654f4ca530
children 5dac990d45db
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 \
17 jpeg-dev lcms-dev re2c lemon libparserutils-dev hubbub-dev libnsgif-dev \
18 librsvg-dev curl-dev pango-dev libcss-dev libwapcaplet-dev libmng-dev \
19 zlib-dev libxml2-dev libcroco"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mv netsurf $PACKAGE-$VERSION 2>/dev/null
25 cd $src
26 cp -a $stuff/Makefile.config .
28 # Fix install target
29 sed -i 's/cp -vRL/cp -RL/' Makefile
30 sed -i 's/cp -v/cp /' Makefile
32 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
44 # Remove files to save some space
45 rm -rf $fs/usr/share/netsurf/docs
46 rm -rf $fs/usr/share/netsurf/*.xpm
47 rm -rf $fs/usr/share/netsurf/license
48 # Webhome
49 cp -a stuff/webhome $fs/usr/share
50 chown -R root.root $fs
51 }