wok-next annotate surf/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 82b613cfd1e0 |
rev | line source |
---|---|
al@20366 | 1 # SliTaz package receipt v2. |
mallory@6302 | 2 |
mallory@6302 | 3 PACKAGE="surf" |
al@20366 | 4 VERSION="1.8" |
mallory@6302 | 5 CATEGORY="network" |
al@20366 | 6 SHORT_DESC="Simple web browser based on WebKit/GTK+2" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15316 | 8 LICENSE="MIT" |
al@20366 | 9 WEB_SITE="https://surf.suckless.org/" |
al@20366 | 10 |
mallory@6302 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20366 | 12 WGET_URL="https://dl.suckless.org/surf/$TARBALL" |
mallory@6302 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev webkitgtk-dev" |
pascal@15110 | 15 |
al@20366 | 16 compile_rules() { |
al@20366 | 17 sed -i 's|/usr/local|/usr|' config.mk |
al@20366 | 18 |
al@20366 | 19 make install || return 1 |
al@20366 | 20 |
al@20366 | 21 icodir="$install/usr/share/pixmaps/" |
al@20366 | 22 mkdir -p $icodir |
al@20366 | 23 cp surf.png $icodir |
mallory@6302 | 24 } |
mallory@6302 | 25 |
al@20366 | 26 genpkg_rules() { |
al@20366 | 27 copy @std |
al@21017 | 28 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk2 libsoup pango \ |
al@21078 | 29 webkitgtk libx11" |
al@20366 | 30 SUGGESTED="dmenu" |
al@20366 | 31 TAGS="web-browser" |
mallory@6302 | 32 } |