wok-4.x rev 6302
Add: Surf Web Browser
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Thu Sep 16 23:46:42 2010 +0200 (2010-09-16) |
parents | aa8b383fcb2b |
children | d62539c455d6 |
files | surf/receipt surf/stuff/surf.desktop surf/stuff/surf.png |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/surf/receipt Thu Sep 16 23:46:42 2010 +0200 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 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/surf/stuff/surf.desktop Thu Sep 16 23:46:42 2010 +0200 2.3 @@ -0,0 +1,12 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=Surf Web Browser 2.7 +Name[fr]=Navigateur Web Surf 2.8 +Name[pt]=Surf Navegador Web 2.9 +Name[zh_CN]=Surf网络浏览器 2.10 +Comment=Browse the Internet 2.11 +Comment[zh_CN]=浏览网络 2.12 +Exec=surf 2.13 +Icon=surf.png 2.14 +Type=Application 2.15 +Categories=Application;Network;
3.1 Binary file surf/stuff/surf.png has changed