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)
23 _gitroot=https://git.gitorious.org/linux-can/can-utils.git
29 msg "Connecting to $_gitroot..."
30 if [[ -d $_gitname ]]; then
31 cd $_gitname && git pull origin && cd ..
32 msg2 "Local files updated"
35 msg2 "Git checkout done"
38 rm -rf $_gitname-build
39 git clone $_gitname $_gitname-build
42 msg "Starting autogen.sh"
46 msg "Starting configure..."
50 msg "Starting make..."
55 cd "$srcdir/$_gitname-build"
56 mkdir -p $pkgdir/usr/local/bin
57 make install DESTDIR="$pkgdir"