wok-6.x view surf/receipt @ rev 6346

Up: gobby to 0.4.12. net6, net6-dev to 1.3.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Sep 19 22:01:57 2010 +0000 (2010-09-19)
parents
children 02bbaa9d12ba
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
29 strip -s $fs/usr/bin/surf
31 # Surf icon
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a stuff/surf.png $fs/usr/share/pixmaps/
35 # Surf desktop info
36 mkdir -p $fs/usr/share/applications
37 cp -a stuff/surf.desktop $fs/usr/share/applications/
38 }