wok-current annotate surf/receipt @ rev 9060

linux-wireless: update modules list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 12:51:40 2011 +0100 (2011-03-04)
parents
children 02bbaa9d12ba
rev   line source
mallory@6302 1 # SliTaz package receipt.
mallory@6302 2
mallory@6302 3 PACKAGE="surf"
mallory@6302 4 VERSION="0.4.1"
mallory@6302 5 CATEGORY="network"
mallory@6302 6 SHORT_DESC="surf is a simple web browser based on WebKit/GTK+"
mallory@6302 7 MAINTAINER="mallory@sweetpeople.org"
mallory@6302 8 DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
mallory@6302 9 BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
mallory@6302 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mallory@6302 11 WEB_SITE="http://surf.suckless.org/"
mallory@6302 12 WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL"
mallory@6302 13 SUGGESTED="dmenu"
mallory@6302 14 TAGS="browser"
mallory@6302 15
mallory@6302 16 # Rules to configure and make the package.
mallory@6302 17 compile_rules()
mallory@6302 18 {
mallory@6302 19 cd $src
mallory@6302 20 make && make DESTDIR=$PWD/_pkg install
mallory@6302 21 }
mallory@6302 22
mallory@6302 23 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@6302 24 genpkg_rules()
mallory@6302 25 {
mallory@6302 26 # Surf binary
mallory@6302 27 mkdir -p $fs/usr
mallory@6302 28 cp -a $_pkg/usr/local/bin $fs/usr
mallory@6302 29 strip -s $fs/usr/bin/surf
mallory@6302 30
mallory@6302 31 # Surf icon
mallory@6302 32 mkdir -p $fs/usr/share/pixmaps
mallory@6302 33 cp -a stuff/surf.png $fs/usr/share/pixmaps/
mallory@6302 34
mallory@6302 35 # Surf desktop info
mallory@6302 36 mkdir -p $fs/usr/share/applications
mallory@6302 37 cp -a stuff/surf.desktop $fs/usr/share/applications/
mallory@6302 38 }
mallory@6302 39