wok-4.x view surf/receipt @ rev 11323

Up: bind to 9.8.1-P1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 17 13:11:35 2011 +0000 (2011-11-17)
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 }