wok-6.x annotate surf/receipt @ rev 10345

scummvm: Add --host for cross compiling.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun May 22 14:25:08 2011 +0000 (2011-05-22)
parents 813566e4bbbb
children 9c762d56b413
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"
mallory@6302 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 # Surf icon
mallory@6302 31 mkdir -p $fs/usr/share/pixmaps
mallory@6302 32 cp -a stuff/surf.png $fs/usr/share/pixmaps/
mallory@6302 33
mallory@6302 34 # Surf desktop info
mallory@6302 35 mkdir -p $fs/usr/share/applications
mallory@6302 36 cp -a stuff/surf.desktop $fs/usr/share/applications/
mallory@6302 37 }
mallory@6302 38