updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / libsmi / PKGBUILD
blob279386b5307224db681b5b5daf009520abe098b2
2 # Contributor: Michael Asher < asherlm at gmail dot com > 
4 pkgname=libsmi
5 pkgver=0.4.8
6 pkgrel=2
7 pkgdesc="Libsmi is a C library that allows network management applications and MIB and PIB authoring tools to access SMI MIB information." 
8 arch=('i686' 'x86_64')
9 url="http://www.ibr.cs.tu-bs.de/projects/libsmi/"
10 license=('Custom')
11 groups=()
12 depends=()
13 makedepends=()
14 provides=('libsmi')
15 install=libsmi.install
16 source=(ftp://ftp.ibr.cs.tu-bs.de/pub/local/libsmi/$pkgname-$pkgver.tar.gz
17         LICENSE)
18 md5sums=('760b6b1070738158708649ed2c63425e'
19          'ca8baacdc29278e35d5e64596aed0286')
21 build() {
22           cd "$srcdir/$pkgname-$pkgver"
24             ./configure --prefix=/usr
25               make || return 1
26                 make DESTDIR="$pkgdir/" install
27                 install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
28         }