wok-next view surf/receipt @ rev 11407

Up: subversion to 1.7.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 21:12:10 2011 +0000 (2011-12-10)
parents 813566e4bbbb
children 9c762d56b413
line source
1 # SliTaz package receipt.
3 PACKAGE="surf"
4 VERSION="0.4.1"
5 CATEGORY="network"
6 SHORT_DESC="surf is a simple web browser based on WebKit/GTK+"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
9 BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://surf.suckless.org/"
12 WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL"
13 SUGGESTED="dmenu"
14 TAGS="browser"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 make && make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 # Surf binary
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/local/bin $fs/usr
30 # Surf icon
31 mkdir -p $fs/usr/share/pixmaps
32 cp -a stuff/surf.png $fs/usr/share/pixmaps/
34 # Surf desktop info
35 mkdir -p $fs/usr/share/applications
36 cp -a stuff/surf.desktop $fs/usr/share/applications/
37 }