1 # $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
6 pkgdesc="Concorde is a computer code for the traveling salesman problem (TSP)
7 and some related network optimization problems."
8 url="http://www.tsp.gatech.edu/concorde/index.html"
10 license=('Academic research only')
17 source=(http://www.tsp.gatech.edu/concorde/downloads/codes/src/co$pkgver.tgz)
18 md5sums=('3476e01ae89b591bf7b329b2f5aa0353')
20 cd $startdir/src/$pkgname
21 ./configure --prefix=/usr
23 install -m 755 -d $pkgdir/usr/{lib,bin,include}
24 install -m 755 -t $pkgdir/usr/lib concorde.a
25 install -m 755 -t $pkgdir/usr/include concorde.h
26 install -m 755 -t $pkgdir/usr/bin TSP/concorde LINKERN/linkern EDGEGEN/edgegen FMATCH/fmatch CUT/mincut LOCALCUT/localcut
28 install -m 755 -t $pkgdir/usr/bin edg2len edgunion fconvert prob2tsp showres tourchk tourlen