wok diff surf/receipt @ rev 7933

slitaz-tools: fix WGET_URL
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 11 14:37:48 2011 +0100 (2011-01-11)
parents
children 02bbaa9d12ba
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/surf/receipt	Tue Jan 11 14:37:48 2011 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="surf"
     1.7 +VERSION="0.4.1"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="surf is a simple web browser based on WebKit/GTK+"
    1.10 +MAINTAINER="mallory@sweetpeople.org"
    1.11 +DEPENDS="libwebkit libsoup libxml2 gnutls gtk+"
    1.12 +BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://surf.suckless.org/"
    1.15 +WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL"
    1.16 +SUGGESTED="dmenu"
    1.17 +TAGS="browser"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	make && make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	# Surf binary
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $_pkg/usr/local/bin $fs/usr
    1.32 +	strip -s $fs/usr/bin/surf
    1.33 +
    1.34 +	# Surf icon
    1.35 +	mkdir -p $fs/usr/share/pixmaps
    1.36 +	cp -a stuff/surf.png $fs/usr/share/pixmaps/
    1.37 +
    1.38 +	# Surf desktop info
    1.39 +	mkdir -p $fs/usr/share/applications
    1.40 +	cp -a stuff/surf.desktop $fs/usr/share/applications/
    1.41 +}
    1.42 +