updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / openwbem / PKGBUILD
blob9091744f02eda332ba9f8a75271c3b24a6e8bda4
1 # Contributor: Graziano Giuliani <g.giuliani@seco.it>
2 # Contributor: the_glu 
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de> 
4 pkgname=openwbem
5 pkgver=3.2.2
6 pkgrel=4
7 pkgdesc="Implementation of WBEM (Web Based Enterprise Management)" 
8 arch=('i686' 'x86_64')
9 url="http://openwbem.org"
10 license=('custom:BSD')
11 depends=('openslp')
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')
19 options=('!libtool')
21 build() {
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
27   make || return 1
29 package() {
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