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

Up linux (3.2.53)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 18 08:40:48 2013 +0000 (2013-12-18)
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 }