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