[arch-commits] Commit in rrdtool/repos (3 files)

Florian Pritz bluewind at archlinux.org
Sun May 27 07:44:26 UTC 2012


    Date: Sunday, May 27, 2012 @ 03:44:25
  Author: bluewind
Revision: 159934

db-move: moved rrdtool from [staging] to [testing] (i686)

Added:
  rrdtool/repos/testing-i686/
  rrdtool/repos/testing-i686/PKGBUILD
    (from rev 159819, rrdtool/repos/staging-i686/PKGBUILD)
Deleted:
  rrdtool/repos/staging-i686/

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: rrdtool/repos/testing-i686/PKGBUILD (from rev 159819, rrdtool/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-05-27 07:44:25 UTC (rev 159934)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=rrdtool
+pkgver=1.4.7
+pkgrel=2
+pkgdesc="Data logging and graphing application"
+arch=('i686' 'x86_64')
+url="http://www.rrdtool.org"
+license=('GPL' 'custom')
+depends=('libxml2' 'pango' 'ttf-dejavu')
+makedepends=('intltool' 'ruby' 'python2' 'tcl' 'lua')
+optdepends=('tcl: to use corresponding binding' \
+            'python2: to use corresponding binding' \
+            'ruby: to use corresponding binding' \
+            'lua: to use corresponding binding')
+options=('!libtool' '!emptydirs' '!makeflags')
+source=(http://oss.oetiker.ch/rrdtool/pub/rrdtool-${pkgver}.tar.gz)
+sha1sums=('faab7df7696b69f85d6f89dd9708d7cf0c9a273b')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # fix FS#28521 make ruby install to vendor_ruby instead of site_ruby
+  sed -e 's/$(RUBY) extconf.rb/& --vendor/' -i bindings/Makefile.in
+
+  PYTHON=python2 ./configure --prefix=/usr --localstatedir=/var --disable-rpath \
+    --enable-perl --enable-perl-site-install --with-perl-options='INSTALLDIRS=vendor' \
+    --enable-ruby --enable-ruby-site-install --enable-python \
+    --enable-lua --enable-lua-site-install --enable-tcl --disable-libwrap
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}




More information about the arch-commits mailing list