1 # Contributor: Graziano Giuliani <g.giuliani@seco.it>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
7 pkgdesc="Implementation of WBEM (Web Based Enterprise Management)"
9 url="http://openwbem.org"
10 license=('custom:BSD')
12 source=(http://openwbem.org/license.html automake.patch gcc4.4.patch \
13 http://downloads.sourceforge.net/sourceforge/$pkgname/${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('7b2ddefc00f40e32529d185c1144b198'
15 '6d77397ec78333e741f8edf5f7899084'
16 'a9cd871339b84d6db8b1c58d2f55821e'
17 'a2a6556d3a58f5d37bd61024c75b4a3a')
18 backup=('etc/openwbem/openwbem.conf' 'etc/openwbem/ssleay.cnf')
22 cd $srcdir/$pkgname-$pkgver
23 patch -p1 < ../automake.patch || return 1
24 patch -p1 < ../gcc4.4.patch || return 1
25 ./configure --prefix=/usr --libexecdir=/usr/bin --sysconfdir=/etc \
26 --mandir=/usr/share/man --localstatedir=/var || return 1
30 cd $srcdir/$pkgname-$pkgver
31 DESTDIR=$pkgdir make install || return 1
32 install -Dm644 $srcdir/license.html \
33 $pkgdir/usr/share/licenses/$pkgname/license.html || return 1