wok-next diff surf/receipt @ rev 20573
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 17:21:19 2018 +0300 (2018-04-13) |
parents | 5d53e8ccbc8d |
children | f48456621a9d |
line diff
1.1 --- a/surf/receipt Thu Jan 08 02:04:05 2015 +0200 1.2 +++ b/surf/receipt Fri Apr 13 17:21:19 2018 +0300 1.3 @@ -1,33 +1,32 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="surf" 1.8 -VERSION="0.6" 1.9 +VERSION="1.8" 1.10 CATEGORY="network" 1.11 -SHORT_DESC="Surf is a simple web browser based on WebKit/GTK+" 1.12 +SHORT_DESC="Simple web browser based on WebKit/GTK+2" 1.13 MAINTAINER="mallory@sweetpeople.org" 1.14 LICENSE="MIT" 1.15 +WEB_SITE="https://surf.suckless.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://surf.suckless.org/" 1.19 -WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL" 1.20 -SUGGESTED="dmenu" 1.21 -TAGS="web-browser" 1.22 +WGET_URL="https://dl.suckless.org/surf/$TARBALL" 1.23 1.24 -DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" 1.25 -BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" 1.26 +BUILD_DEPENDS="gtk+-dev webkitgtk-dev" 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 - cd $src 1.32 - sed -i 's/^LIBS.*/& -lX11/' config.mk 1.33 - make && make DESTDIR=$DESTDIR install 1.34 +compile_rules() { 1.35 + sed -i 's|/usr/local|/usr|' config.mk 1.36 + 1.37 + make install || return 1 1.38 + 1.39 + icodir="$install/usr/share/pixmaps/" 1.40 + mkdir -p $icodir 1.41 + cp surf.png $icodir 1.42 } 1.43 1.44 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 -genpkg_rules() 1.46 -{ 1.47 - # Surf binary 1.48 - mkdir -p $fs/usr 1.49 - cp -a $install/usr/local/bin $fs/usr 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 + DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ libsoup pango \ 1.53 + webkitgtk xorg-libX11" 1.54 + SUGGESTED="dmenu" 1.55 + TAGS="web-browser" 1.56 } 1.57 -