]> Pileus Git - ~andy/sunrise/commitdiff
www-servers/gatling: New Ebuild for bug 221841
authorMaximilian Gaß (mxey) <mxey@cloudconnected.org>
Mon, 12 May 2008 15:10:13 +0000 (15:10 +0000)
committerMaximilian Gaß (mxey) <mxey@cloudconnected.org>
Mon, 12 May 2008 15:10:13 +0000 (15:10 +0000)
svn path=/sunrise/; revision=6179

www-servers/gatling/ChangeLog [new file with mode: 0644]
www-servers/gatling/Manifest [new file with mode: 0644]
www-servers/gatling/files/gentoo-vars.patch [new file with mode: 0644]
www-servers/gatling/gatling-0.9.ebuild [new file with mode: 0644]
www-servers/gatling/metadata.xml [new file with mode: 0644]

diff --git a/www-servers/gatling/ChangeLog b/www-servers/gatling/ChangeLog
new file mode 100644 (file)
index 0000000..9007960
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for www-servers/gatling
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  12 May 2008; Maximilian Gaß <mxey@cloudconnected.org +gatling-0.9.ebuild,
+  +files/gentoo-vars.patch, +metadata.xml:
+  New Ebuild for bug 221841
+
diff --git a/www-servers/gatling/Manifest b/www-servers/gatling/Manifest
new file mode 100644 (file)
index 0000000..b64a429
--- /dev/null
@@ -0,0 +1,5 @@
+AUX gentoo-vars.patch 471 RMD160 5ab9be9b889e7b41b887f3844587fabeb3f3f2b2 SHA1 b9bad9e5840962be7adcc44b02239972e55edae3 SHA256 6825dd24fd78309a43309fe22b53e20a0da8d1bcdf2ec99465d9972809c4f0fb
+DIST gatling-0.9.tar.bz2 73831 RMD160 cfe0b8fe6c81132d67c92be522793033f9d4dacc SHA1 db2c347c6edc4b0de1a0208121b31df3b19cec5b SHA256 6fa7c1278fd7d05422e073e4062cd931e10d2593fe73728fdcf0e2541db01bbe
+EBUILD gatling-0.9.ebuild 632 RMD160 13f96796189663763fd72aef4ceb4ffc5182b099 SHA1 56e306d5334296ac81b3670ee8c650fac744de6f SHA256 d4a7b72db7b443c3bdd5b391991e29c66fb6525ebf0aa07931625469bfe8262b
+MISC ChangeLog 269 RMD160 69e55885597fcd629e238b606fd7fb3191c22588 SHA1 b889558633c97d3a67fb4a6754d7b54a615f3633 SHA256 c5840572b4f2e525f096312c34f4f918e8543f8d8f7a88bdd8b6dbbd5d38db89
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/www-servers/gatling/files/gentoo-vars.patch b/www-servers/gatling/files/gentoo-vars.patch
new file mode 100644 (file)
index 0000000..349e9f8
--- /dev/null
@@ -0,0 +1,20 @@
+--- GNUmakefile.org    2008-05-12 13:59:01.000000000 +0200
++++ GNUmakefile        2008-05-12 15:04:17.000000000 +0200
+@@ -1,6 +1,6 @@
+ #DEBUG=1
+ ZLIB=1
+-prefix=/opt/diet
++prefix=/usr
+ BINDIR=${prefix}/bin
+ MANDIR=${prefix}/man
+ man1dir=$(MANDIR)/man1
+@@ -14,8 +14,7 @@
+ CROSS=
+ #CROSS=i686-mingw32-
+ CC=$(CROSS)gcc
+-CFLAGS=-pipe -Wall
+-LDFLAGS=
++CFLAGS+=-pipe -Wall -I/usr/include/libowfat
+ path = $(subst :, ,$(PATH))
+ diet_path = $(foreach dir,$(path),$(wildcard $(dir)/diet))
diff --git a/www-servers/gatling/gatling-0.9.ebuild b/www-servers/gatling/gatling-0.9.ebuild
new file mode 100644 (file)
index 0000000..4ca80a8
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="high performance web server"
+HOMEPAGE="http://www.fefe.de/gatling/"
+SRC_URI="http://dl.fefe.de/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="dev-libs/libowfat
+       dev-libs/dietlibc"
+RDEPEND=""
+
+src_unpack() {
+       unpack $A
+       cd "${S}"
+
+       epatch "${FILESDIR}/gentoo-vars.patch"
+}
+
+src_compile() {
+       emake gatling || die "emake gatling failed"
+}
+
+src_install() {
+       dobin gatling || die "installing binary failed"
+       doman gatling.1 || die "installing manpage failed"
+}
diff --git a/www-servers/gatling/metadata.xml b/www-servers/gatling/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>