wok view netsurf/receipt @ rev 16854

netsurf:some make opts
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Jul 13 04:58:40 2014 +0300 (2014-07-13)
parents eee72d355cdc
children 1b621abdce2d
line source
1 # SliTaz package receipt.
3 PACKAGE="netsurf"
4 VERSION="3.1"
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-all-$VERSION.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 expat-dev gperf flex bison \
20 perl-html-parser perl-html-tagset"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 #mv netsurf $PACKAGE-$VERSION 2>/dev/null
26 cd $src
27 cp -a $stuff/Makefile.config .
29 # Fix install target
30 #sed -i 's/cp -vRL/cp -RL/' Makefile
31 #sed -i 's/cp -v/cp /' Makefile
32 make install DESTDIR=$DESTDIR PREFIX=/usr \
33 TARGET=gtk \
34 NETSURF_USE_WEBP=NO \
35 NETSURF_USE_VIDEO=NO \
36 NETSURF_GTK_MAJOR=2 \
37 NETSURF_USE_VIDEO=NO
38 #make install DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share \
45 $fs/usr/lib/netsurf
46 ##cp -a $install/bin $fs/usr
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/netsurf $fs/usr/share
49 ##cp -a $install/share/netsurf $fs/usr/share
51 # Remove files to save some space
52 rm -rf $fs/usr/share/netsurf/docs
53 rm -rf $fs/usr/share/netsurf/*.xpm
54 rm -rf $fs/usr/share/netsurf/license
55 # Webhome
56 cp -a stuff/webhome $fs/usr/share
57 chown -R root.root $fs
58 }