wok-6.x annotate surf/receipt @ rev 23042
gcc83-lib-base: add /usr/libgcc83/libstdc++.la
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 12:13:42 2020 +0100 (2020-03-05) |
parents | f763320a92ed |
children | 934055de50e2 |
rev | line source |
---|---|
mallory@6302 | 1 # SliTaz package receipt. |
mallory@6302 | 2 |
mallory@6302 | 3 PACKAGE="surf" |
pankso@16427 | 4 VERSION="0.6" |
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" |
al@17501 | 13 TAGS="web-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 |