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

ypserv: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Nov 29 01:25:59 2011 +0100 (2011-11-29)
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 }