1 # Contributor: Sebastien Piccand <sebcactus gmail com>
5 pkgdesc="A C++ Library of Genetic Algorithm Components"
7 url="http://lancet.mit.edu/ga/"
10 source=(http://lancet.mit.edu/ga/dist/${pkgname}247.tgz)
11 md5sums=('2b6a28fd06d4c7c4d0bb39c92b2b376c')
14 cd $startdir/src/${pkgname}`echo $pkgver | tr -d .`
15 # Install the BSD License
16 install -D -m644 COPYRIGHT $startdir/pkg/usr/share/licenses/galib/COPYRIGHT
17 mkdir $startdir/pkg/usr/lib
19 make CXXFLAGS="${CXXFLAGS}" lib || return 1
20 make DESTDIR=$startdir/pkg/usr install || return 1
21 # Clean unnecessary files
22 rm $startdir/pkg/usr/include/ga/{BUILD,VERSION}