1 # Maintainer: Julian Leyh <julian@vgai.de>
6 pkgdesc="implementation of the DHCP protocol in Ada"
8 url="http://codelabs.ch/adhcp/"
10 depends=('gcc-ada' 'libalog' 'libdbusada')
12 checkdepends=('ahven' 'netcat6')
17 _gitroot=http://git.codelabs.ch/git/adhcp.git
22 msg "Connecting to GIT server...."
24 if [[ -d "$_gitname" ]]; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone "$_gitroot" "$_gitname"
31 msg "GIT checkout done or server timeout"
32 msg "Starting build..."
34 rm -rf "$srcdir/$_gitname-build"
35 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
36 cd "$srcdir/$_gitname-build"
45 cd "$srcdir/$_gitname-build"
50 cd "$srcdir/$_gitname-build"
52 msg "Installing library..."
53 make DESTDIR="$pkgdir/usr" install