Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=20e561cb9d78adb617e77c1c69f5d8a9f4168837

commit 20e561cb9d78adb617e77c1c69f5d8a9f4168837
Author: CSÉCSY László <boo...@frugalware.org>
Date:   Tue Jan 13 14:33:15 2009 +0100

siege-2.67-1-i686
new package / intial import

diff --git a/source/network-extra/siege/FrugalBuild 
b/source/network-extra/siege/FrugalBuild
new file mode 100644
index 0000000..574ccc9
--- /dev/null
+++ b/source/network-extra/siege/FrugalBuild
@@ -0,0 +1,24 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: CSÉCSY László <boo...@frugalware.org>
+
+pkgname=siege
+pkgver=2.67
+pkgrel=1
+pkgdesc="An http regression testing and benchmarking utility."
+url="http://www.joedog.org/index/siege-home";
+depends=('openssl')
+groups=('network-extra')
+archs=('i686')
+up2date="lynx -dump $url | grep stable | sed 's/.*SIEGE-\([0-9.]\+\) .*/\1/'"
+source=(ftp://ftp.joedog.org/pub/$pkgname/$pkgname-$pkgver.tar.gz 
destdir.patch)
+sha1sums=('8beb37a0a2dd5253ae2534903d26fe2b7f34f3fb' \
+          'cda82637ddf7ab09153ee768f83d7406139cae93')
+
+build() {
+       Fpatchall
+       utils/bootstrap || return 1
+       Fmake --sysconfdir=/etc/siege
+       Fmakeinstall
+}
+
+# optimization OK
diff --git a/source/network-extra/siege/destdir.patch 
b/source/network-extra/siege/destdir.patch
new file mode 100644
index 0000000..f1dfab8
--- /dev/null
+++ b/source/network-extra/siege/destdir.patch
@@ -0,0 +1,22 @@
+diff --git a/doc/Makefile.am b/doc/Makefile.am
+index de1c679..2d8928a 100644
+--- a/doc/Makefile.am
++++ b/doc/Makefile.am
+@@ -44,7 +44,7 @@ DISTCLEANFILES    =      siegerc $(man_MANS)
+
+ SIEGERC           =      $(HOME)/.siegerc
+
+-URLSTXT           =      $(sysconfdir)/urls.txt
++URLSTXT           =      $(DESTDIR)$(sysconfdir)/urls.txt
+
+ install-exec-hook:
+       @if test -f $(SIEGERC); then \
+@@ -70,7 +70,7 @@ install-exec-hook:
+           echo "         It was NOT replaced with this installation."; \
+         fi; \
+       else \
+-        $(mkinstalldirs) $(sysconfdir); \
++        $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+         $(INSTALL_DATA) $(srcdir)/urls.txt $(URLSTXT); \
+       fi
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to