wok-current annotate surf/receipt @ rev 16245
grisbi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 09:22:13 2014 +0000 (2014-04-03) |
parents | 1ae5963f23df |
children | f763320a92ed |
rev | line source |
---|---|
mallory@6302 | 1 # SliTaz package receipt. |
mallory@6302 | 2 |
mallory@6302 | 3 PACKAGE="surf" |
mallory@6302 | 4 VERSION="0.4.1" |
mallory@6302 | 5 CATEGORY="network" |
samuel_trassare@12057 | 6 SHORT_DESC="Surf is a simple web browser based on WebKit/GTK+" |
mallory@6302 | 7 MAINTAINER="mallory@sweetpeople.org" |
pascal@15316 | 8 LICENSE="MIT" |
mallory@6302 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@6302 | 10 WEB_SITE="http://surf.suckless.org/" |
mallory@6302 | 11 WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL" |
mallory@6302 | 12 SUGGESTED="dmenu" |
mallory@6302 | 13 TAGS="browser" |
mallory@6302 | 14 |
pascal@15110 | 15 DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" |
pascal@15110 | 16 BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" |
pascal@15110 | 17 |
mallory@6302 | 18 # Rules to configure and make the package. |
mallory@6302 | 19 compile_rules() |
mallory@6302 | 20 { |
mallory@6302 | 21 cd $src |
pascal@15316 | 22 sed -i 's/^LIBS.*/& -lX11/' config.mk |
pascal@15110 | 23 make && make DESTDIR=$DESTDIR install |
mallory@6302 | 24 } |
mallory@6302 | 25 |
mallory@6302 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@6302 | 27 genpkg_rules() |
mallory@6302 | 28 { |
mallory@6302 | 29 # Surf binary |
mallory@6302 | 30 mkdir -p $fs/usr |
pascal@15110 | 31 cp -a $install/usr/local/bin $fs/usr |
mallory@6302 | 32 } |
mallory@6302 | 33 |