summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/surf/ChangeLog10
-rw-r--r--www-client/surf/metadata.xml9
-rw-r--r--www-client/surf/surf-0.3.ebuild37
3 files changed, 56 insertions, 0 deletions
diff --git a/www-client/surf/ChangeLog b/www-client/surf/ChangeLog
new file mode 100644
index 000000000000..e6925d496be3
--- /dev/null
+++ b/www-client/surf/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-client/surf
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.1 2010/02/12 17:29:37 jer Exp $
+
+*surf-0.3 (12 Feb 2010)
+
+ 12 Feb 2010; Jeroen Roovers <jer@gentoo.org> +surf-0.3.ebuild,
+ +metadata.xml:
+ Initial commit.
+
diff --git a/www-client/surf/metadata.xml b/www-client/surf/metadata.xml
new file mode 100644
index 000000000000..6b29bc518eb4
--- /dev/null
+++ b/www-client/surf/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>jer@gentoo.org</email>
+ <name>Jeroen Roovers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-client/surf/surf-0.3.ebuild b/www-client/surf/surf-0.3.ebuild
new file mode 100644
index 000000000000..66020e2c4052
--- /dev/null
+++ b/www-client/surf/surf-0.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/surf/surf-0.3.ebuild,v 1.1 2010/02/12 17:29:37 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="surf is a simple web browser based on WebKit/GTK+"
+HOMEPAGE="http://surf.suckless.org/"
+SRC_URI="http://dl.suckless.org/${PN}/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=net-libs/webkit-gtk-1.1.14"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ sed -i \
+ -e 's|{|(|g;s|}|)|g' \
+ -e 's|\t@|\t|g;s|echo|@&|g' \
+ -e 's|^LIBS.*|LIBS = $(GTKLIB) -lgthread-2.0|g' \
+ -e 's|^LDFLAGS.*|LDFLAGS += $(LIBS)|g' \
+ -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \
+ config.mk Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die "emake compile failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed"
+}