1 # Maintainer: Alf <naihe2010@126.com>
8 pkgdesc='DHT C library'
10 url='http://naihe2010.github.com/libttdht/index.html'
15 _gitroot='http://github.com/naihe2010/libttdht.git'
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
28 sh autogen.sh && ./configure --prefix=/usr
33 cd "$srcdir/$_gitname"
34 make DESTDIR="$pkgdir/" install