1 # Contributor: Thomas Mudrunka <harvie@@email..cz>
2 # Maintainer: Thomas Mudrunka <harvie@@email..cz>
3 # You can also contact me on http://blog.harvie.cz/
8 pkgdesc="RepSnapper RepRap control software"
10 url="https://github.com/timschmidt/repsnapper"
17 _gitroot='git://github.com/timschmidt/repsnapper.git'
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone --depth 1 $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf "$srcdir/$_gitname-build"
37 cp -r "$srcdir/$_gitname" "$srcdir/$_gitname-build"
38 cd "$srcdir/$_gitname-build"
44 #export PREFIX="$pkgdir/usr"
45 ./autogen.sh || return 1
46 ./configure --prefix="$pkgdir/usr" || return 1
48 #make install PREFIX="$pkgdir/usr" || return 1
49 make install || return 1