updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / zebra / PKGBUILD
blob1c26f383aaa369b4f201250c7cb68a578bab8611
1 # Maintainer: Jason Begley <jayray@digitalgoat.com>
3 pkgname=zebra
4 pkgver=0.95a
5 pkgrel=1
6 pkgdesc="GNU Zebra free routing software"
7 url='http://www.zebra.org/'
8 license="GPL"
9 arch=('i686')
10 depends=()
11 backup=('etc/zebra.conf' 'etc/ospfd.conf' 'etc/bgpd.conf' 'etc/ripd.conf')
12         source=(ftp://ftp.zebra.org/pub/zebra/$pkgname-$pkgver.tar.gz)
13         md5sums=('9b8fec2d4f910334e50167414fcf193b')
15         build() {
16                 cd $startdir/src/$pkgname-$pkgver
17                 ./configure --sysconfdir=/etc --prefix=/usr/  
18                 make || return 1
19                 make DESTDIR=$startdir/pkg install
20                 mv $startdir/pkg/etc/bgpd.conf.sample $startdir/pkg/etc/bgpd.conf
21                 mv $startdir/pkg/etc/ospfd.conf.sample $startdir/pkg/etc/ospfd.conf
22                 mv $startdir/pkg/etc/ripd.conf.sample $startdir/pkg/etc/ripd.conf
23                 mv $startdir/pkg/etc/zebra.conf.sample $startdir/pkg/etc/zebra.conf
24                 install=$pkgname.install 
25                 }
26