updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / glp-solve / PKGBUILD
blob8f990b6688836515dc22f237ccc00831c1314db8
1 #Package mantained by Jorge Pizarro Callejas, aka Jorgicio <jpizarro@inf.utfsm.cl>
2 pkgname=glp-solve
3 pkgver=1.2
4 pkgrel=1
5 pkgdesc="A graphic interface for the LP-Solve Software for resolving Linear Program problems"
6 arch=("i686" "x86_64")
7 license=("GPL")
8 url="http://carleos.epv.uniovi.es/~juan/"
9 md5sums=("09644e3b28c9841475ae9fd3621311cd")
10 depends=("libgnomeprintui" "lpsolve" "libgnomeui" "gtksourceview" "libsm")
11 source=("http://carleos.epv.uniovi.es/~juan/dist/GLP-Solve-1.2.tar.gz")
13 build(){
14     cd $srcdir/GLP-Solve-1.2
15     liblpsolve_CFLAGS=-I/usr/include/lpsolve liblpsolve_LIBS="-llpsolve55" ./configure --prefix=/usr --docdir=/usr
16     make || return 1
17     make DESTDIR="$pkgdir/" install
18     mkdir -p $pkgdir/usr/share/applications
19     cp $pkgdir/usr/share/gnome/apps/Utilities/GLP-Solve.desktop $pkgdir/usr/share/applications/