diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-06-01 00:41:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-06-01 00:41:45 +0000 |
commit | 63aec1c2b186a66d1d826f09386f3652a38b41b4 (patch) | |
tree | b08c0b92d5fcca58f10e389c9d5173ccf70d9b52 /www-client | |
parent | doc deps fixed (diff) | |
download | gentoo-2-63aec1c2b186a66d1d826f09386f3652a38b41b4.tar.gz gentoo-2-63aec1c2b186a66d1d826f09386f3652a38b41b4.tar.bz2 gentoo-2-63aec1c2b186a66d1d826f09386f3652a38b41b4.zip |
Version bump thanks to Bjartur Thorlacius (bug #322319).
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/surf/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/surf/surf-0.4.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/www-client/surf/ChangeLog b/www-client/surf/ChangeLog index 9ddd988a0fb1..c0d1186c6713 100644 --- a/www-client/surf/ChangeLog +++ b/www-client/surf/ChangeLog @@ -1,6 +1,11 @@ # 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.5 2010/04/21 13:30:24 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/surf/ChangeLog,v 1.6 2010/06/01 00:41:45 jer Exp $ + +*surf-0.4 (01 Jun 2010) + + 01 Jun 2010; Jeroen Roovers <jer@gentoo.org> +surf-0.4.ebuild: + Version bump thanks to Bjartur Thorlacius (bug #322319). 21 Apr 2010; Jeroen Roovers <jer@gentoo.org> surf-0.3-r1.ebuild: Block media-gfx/surf (bug #316511). diff --git a/www-client/surf/surf-0.4.ebuild b/www-client/surf/surf-0.4.ebuild new file mode 100644 index 000000000000..d8ced82fe875 --- /dev/null +++ b/www-client/surf/surf-0.4.ebuild @@ -0,0 +1,43 @@ +# 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.4.ebuild,v 1.1 2010/06/01 00:41:45 jer Exp $ + +EAPI="2" + +inherit eutils savedconfig toolchain-funcs + +DESCRIPTION="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=" + !media-gfx/surf + ${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|^CC.*|CC ?= gcc|g' \ + -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ + config.mk Makefile || die "sed failed" + restore_config config.h +} + +src_compile() { + emake CC=$(tc-getCC) || die "emake compile failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install || die "emake install failed" + save_config config.h +} |