wok-6.x view netsurf/receipt @ rev 6176

Up: automake to 1.11.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 10 12:55:09 2010 +0000 (2010-09-10)
parents 5b44af8c1257
children 7ae832eb290f
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="2.5"
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"
10 BUILD_DEPENDS="$DEPENDS gtk+-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"
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 }