# HG changeset patch # User Christopher Rogers # Date 1284662972 0 # Node ID d62539c455d690deda39a0132c8f2cc800db2018 # Parent ebff403fdf4e4a802ecd25001f906902bef411b7# Parent 813566e4bbbb7f15a954d4d552d7781d42ef32c9 merge diff -r ebff403fdf4e -r d62539c455d6 surf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/surf/receipt Thu Sep 16 18:49:32 2010 +0000 @@ -0,0 +1,39 @@ +# SliTaz package receipt. + +PACKAGE="surf" +VERSION="0.4.1" +CATEGORY="network" +SHORT_DESC="surf is a simple web browser based on WebKit/GTK+" +MAINTAINER="mallory@sweetpeople.org" +DEPENDS="libwebkit libsoup libxml2 gnutls gtk+" +BUILD_DEPENDS="libwebkit-dev libsoup-dev libxml2-dev gnutls-dev gtk+-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://surf.suckless.org/" +WGET_URL="http://dl.suckless.org/$PACKAGE/$TARBALL" +SUGGESTED="dmenu" +TAGS="browser" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + # Surf binary + mkdir -p $fs/usr + cp -a $_pkg/usr/local/bin $fs/usr + strip -s $fs/usr/bin/surf + + # Surf icon + mkdir -p $fs/usr/share/pixmaps + cp -a stuff/surf.png $fs/usr/share/pixmaps/ + + # Surf desktop info + mkdir -p $fs/usr/share/applications + cp -a stuff/surf.desktop $fs/usr/share/applications/ +} + diff -r ebff403fdf4e -r d62539c455d6 surf/stuff/surf.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/surf/stuff/surf.desktop Thu Sep 16 18:49:32 2010 +0000 @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Surf Web Browser +Name[fr]=Navigateur Web Surf +Name[pt]=Surf Navegador Web +Name[zh_CN]=Surf网络浏览器 +Comment=Browse the Internet +Comment[zh_CN]=浏览网络 +Exec=surf +Icon=surf.png +Type=Application +Categories=Application;Network; diff -r ebff403fdf4e -r d62539c455d6 surf/stuff/surf.png Binary file surf/stuff/surf.png has changed