wok-6.x annotate surf/receipt @ rev 12759
epdfview: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 12 11:15:54 2012 +0200 (2012-05-12) |
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 |