wok-current view surf/receipt @ rev 8504
gcc+gcj: remove build dir after packing files, don't exit but return
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Feb 12 02:18:58 2011 +0100 (2011-02-12) |
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 }