wok-6.x annotate surf/receipt @ rev 14203
linux-libre: fix check_modules.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 14 10:38:19 2013 +0100 (2013-03-14) |
parents | 02bbaa9d12ba |
children | 1ae5963f23df |
rev | line source |
---|---|
mallory@6302 | 1 # SliTaz package receipt. |
mallory@6302 | 2 |
mallory@6302 | 3 PACKAGE="surf" |
mallory@6302 | 4 VERSION="0.4.1" |
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" |
mallory@6302 | 8 DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" |
mallory@6302 | 9 BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" |
mallory@6302 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mallory@6302 | 11 WEB_SITE="http://surf.suckless.org/" |
mallory@6302 | 12 WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL" |
mallory@6302 | 13 SUGGESTED="dmenu" |
mallory@6302 | 14 TAGS="browser" |
mallory@6302 | 15 |
mallory@6302 | 16 # Rules to configure and make the package. |
mallory@6302 | 17 compile_rules() |
mallory@6302 | 18 { |
mallory@6302 | 19 cd $src |
mallory@6302 | 20 make && make DESTDIR=$PWD/_pkg install |
mallory@6302 | 21 } |
mallory@6302 | 22 |
mallory@6302 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@6302 | 24 genpkg_rules() |
mallory@6302 | 25 { |
mallory@6302 | 26 # Surf binary |
mallory@6302 | 27 mkdir -p $fs/usr |
mallory@6302 | 28 cp -a $_pkg/usr/local/bin $fs/usr |
mallory@6302 | 29 } |
mallory@6302 | 30 |