wok view surf/receipt @ rev 16310
ARM: add patch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 09 09:11:44 2014 +0200 (2014-04-09) |
parents | 1ae5963f23df |
children | f763320a92ed |
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://surf.suckless.org/"
11 WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL"
12 SUGGESTED="dmenu"
13 TAGS="browser"
15 DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
16 BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/^LIBS.*/& -lX11/' config.mk
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 # Surf binary
30 mkdir -p $fs/usr
31 cp -a $install/usr/local/bin $fs/usr
32 }