Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (34 sloc) 1.417 kB
#Contributor: MCMic <come.bernigaud@laposte.net>
pkgname=paradiseo
pkgver=2.0.1
pkgrel=1
pkgdesc="Evolving Objects is a template-based, ANSI-C++ evolutionary computation library which helps you to write your own stochastic optimization algorithms insanely fast."
arch=('i686' 'x86_64')
url="http://eodev.sourceforge.net/"
license=('LGPL')
depends=()
makedepends=('make' 'cmake')
conflicts=()
source=("https://gforge.inria.fr/frs/download.php/31732/ParadisEO-${pkgver}.tar.gz")
md5sums=('89f875b3f92abdb64b26c6c207fef346')
options=('staticlibs')
build() {
cd $srcdir/ParadisEO-2.0
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
make
}
package() {
cd $srcdir/ParadisEO-2.0
make install DESTDIR=$pkgdir
mv $pkgdir/usr/include/paradiseo/eo/ $pkgdir/usr/include/paradiseo/eotmp/
cp -a $pkgdir/usr/include/paradiseo/eotmp/* $pkgdir/usr/include/paradiseo/
rm -r $pkgdir/usr/include/paradiseo/eotmp/
mv $pkgdir/usr/include/paradiseo/mo/ $pkgdir/usr/include/paradiseo/motmp/
cp -a $pkgdir/usr/include/paradiseo/motmp/* $pkgdir/usr/include/paradiseo/
rm -r $pkgdir/usr/include/paradiseo/motmp/
mv $pkgdir/usr/include/paradiseo/moeo/ $pkgdir/usr/include/paradiseo/moeotmp/
cp -a $pkgdir/usr/include/paradiseo/moeotmp/* $pkgdir/usr/include/paradiseo/
rm -r $pkgdir/usr/include/paradiseo/moeotmp/
mkdir -p $pkgdir/usr/lib
mv $pkgdir/usr/lib64 $pkgdir/usr/lib/paradiseo/
}
Jump to Line
Something went wrong with that request. Please try again.