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

commit 935ba17723561419884561b7acbf7aef91e1ed80
Author: Krisztian VASAS <[EMAIL PROTECTED]>
Date:   Wed Aug 6 19:50:29 2008 +0200

rrdtool-1.2.28-1-i686
- version bump
- package moved to network-extra

diff --git a/source/network-extra/rrdtool/FrugalBuild 
b/source/network-extra/rrdtool/FrugalBuild
new file mode 100644
index 0000000..7fb6e35
--- /dev/null
+++ b/source/network-extra/rrdtool/FrugalBuild
@@ -0,0 +1,39 @@
+# Compiling Time: 0.28 SBU
+# Maintainer: Karoly CZOVEK <[EMAIL PROTECTED]>
+
+pkgname=rrdtool
+pkgver=1.2.28
+pkgrel=1
+sbu=1
+pkgdesc="a program to generate fancy graphs from network usage or from any 
thing is able to meter"
+url="http://oss.oetiker.ch/$pkgname/pub";
+depends=('gd' 'cgilib' 'libart_lgpl')
+makedepends=('tcl')
+groups=('network-extra')
+archs=('i686' 'x86_64')
+up2date="lynx -dump '$url/?C=M;O=A' | grep tar.gz$ | sed -ne 
's/.*-\(.*\)\.t.*/\1/;$ p'"
+source=($url/$pkgname-$pkgver.tar.gz)
+sha1sums=('a8ca75fcf7b32ca94b057fa663e5f989522e2df9')
+build()
+{
+       Fpatchall
+       Fconf
+
+       # Configure Perl stuff
+       (cd bindings/perl-piped && rm -f Makefile && perl Makefile.PL)
+       (cd bindings/perl-shared && rm -f Makefile && perl Makefile.PL)
+
+       make || return 1
+       Fmakeinstall
+
+       mv $Fdestdir/usr/lib/perl5/site_perl/?.?.? 
$Fdestdir/usr/lib/perl5/site_perl/current
+       mv $Fdestdir/usr/lib\ /usr/share/tclrrd$pkgver $Fdestdir/usr/share
+       rmdir $Fdestdir/usr/lib\ /usr/share/
+       rmdir $Fdestdir/usr/lib\ /usr/
+       rmdir $Fdestdir/usr/lib\ /
+       Frm /usr/lib/perl5/?.?.?
+       find $Fdestdir/usr/lib/perl5/site_perl/current/ -name .packlist -exec 
rm {} \;
+}
+
+
+# optimization OK
diff --git a/source/network-extra/rrdtool/rrdtool-1.2.19-python.patch 
b/source/network-extra/rrdtool/rrdtool-1.2.19-python.patch
new file mode 100644
index 0000000..8e4adb5
--- /dev/null
+++ b/source/network-extra/rrdtool/rrdtool-1.2.19-python.patch
@@ -0,0 +1,22 @@
+diff -uNr bindings/python-orig/Makefile.am bindings/python/Makefile.am
+--- bindings/python-orig/Makefile.am   2007-03-31 11:21:43.000000000 +0100
++++ bindings/python/Makefile.am        2007-03-31 11:24:47.000000000 +0100
+@@ -2,6 +2,7 @@
+
+ pyexec_PROGRAMS = rrdtoolmodule.so
+
++rrdtoolmodule_so_LDFLAGS = -module -shared
+ rrdtoolmodule_so_LDADD = $(top_builddir)/src/librrd.la
+ rrdtoolmodule_so_SOURCES = rrdtoolmodule.c
+
+diff -uNr bindings/python-orig/Makefile.in bindings/python/Makefile.in
+--- bindings/python-orig/Makefile.in   2007-03-31 11:21:43.000000000 +0100
++++ bindings/python/Makefile.in        2007-03-31 11:22:14.000000000 +0100
+@@ -233,6 +233,7 @@
+ target_os = @target_os@
+ target_vendor = @target_vendor@
+ AM_CPPFLAGS = @CFLAGS@ -I$(top_srcdir)/src @PYTHON_INCLUDES@
++rrdtoolmodule_so_LDFLAGS = -module -shared
+ rrdtoolmodule_so_LDADD = $(top_builddir)/src/librrd.la
+ rrdtoolmodule_so_SOURCES = rrdtoolmodule.c
+ noinst_HEADERS = rrd_extra.h
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to