1 # Maintainer: Jan-Niklas Meier <dschanoeh@googlemail.com>
5 pkgdesc="SocketCAN utilities"
7 url="https://gitorious.org/linux-can/can-utils"
11 makedepends=(git libtool)
24 _gitroot=https://git.gitorious.org/~bet-frogger/linux-can/mkl-can-utils.git
25 _gitname=mkl-can-utils
30 msg "Connecting to $_gitroot..."
31 if [[ -d $_gitname ]]; then
32 cd $_gitname && git pull origin && cd ..
33 msg2 "Local files updated"
36 msg2 "Git checkout done"
39 rm -rf $_gitname-build
40 git clone $_gitname $_gitname-build
43 msg "Starting autogen.sh"
47 msg "Starting configure..."
51 msg "Starting make..."
56 cd "$srcdir/$_gitname-build"
57 mkdir -p $pkgdir/usr/local/bin
58 make install DESTDIR="$pkgdir"