1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: Jens Staal <staal1978@gmail.com>
7 pkgdesc='C library for developing embedded Linux systems'
9 url="http://www.uclibc.org/"
14 _gitroot="git://git.busybox.net/uClibc"
19 msg "Connecting to GIT server..."
21 if [ -d $_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
25 git clone $_gitroot $_gitname
27 msg "GIT checkout done or server timeout."
29 rm -rf "$srcdir/$_gitname-build"
30 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
31 cd "$srcdir/$_gitname-build"
33 msg "Running make menuconfig"
39 cd "$srcdir/$_gitname-build"
41 make PREFIX="$pkgdir/" install