wok view surf/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
parents | 5d53e8ccbc8d |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 sed -i 's/^LIBS.*/& -lX11/' config.mk
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 # Surf binary
37 mkdir -p $fs/usr
38 cp -a $install/usr/local/bin $fs/usr
39 }