1 # Contributor: icarus <lysergic2 at comcast.net>
5 pkgdesc="Freediag is a suite of vehicle diagnostic protocols and an OBD II (mostly) compliant ScanTool. "
7 url="http://freediag.sourceforge.net/"
9 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
10 md5sums=('937c3575cd2de99eb776c80e43be83a5')
13 cd "$startdir/src/$pkgname-$pkgver/src"
15 ./configure --prefix=/usr
17 make DESTDIR="$startdir/pkg"
19 mkdir -p $pkgdir/usr/bin
20 cp scantool $pkgdir/usr/bin
21 cp diag_test $pkgdir/usr/bin
22 chmod 755 $pkgdir/usr/bin/scantool
23 chmod 755 $pkgdir/usr/bin/scantool
25 mkdir -p $pkgdir/usr/share/doc/freediag
26 cp CHANGES $pkgdir/usr/share/doc/freediag
27 cp README $pkgdir/usr/share/doc/freediag
28 cp TODO $pkgdir/usr/share/doc/freediag
29 cp -R $startdir/src/$pkgname-$pkgver/doc/* $pkgdir/usr/share/doc/freediag