wok view surf/receipt @ rev 20611

Up linux-libre (3.18.129) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 11:30:04 2018 +0100 (2018-12-18)
parents f763320a92ed
children 934055de50e2
line source
1 # SliTaz package receipt.
3 PACKAGE="surf"
4 VERSION="0.6"
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="web-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 }