1 # Contributor: Mychael Janes <mychael.janes@gmail.com>
5 pkgdesc="a library that implement Microsoft's NTLM authentication"
9 url="http://josefsson.org/libntlm/"
12 _gitroot="git://git.savannah.nongnu.org/libntlm.git"
17 msg "Connecting to GIT server...."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git-pull origin
21 msg "The local files are updated."
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -r "$srcdir/$_gitname-build"
30 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
33 # a hack to get a Makefile built
36 ./configure --prefix=/usr
38 make DESTDIR="$pkgdir/" install