Skip to content

Instantly share code, notes, and snippets.

@samtux
Created February 10, 2014 17:21
Show Gist options
  • Save samtux/8920290 to your computer and use it in GitHub Desktop.
Save samtux/8920290 to your computer and use it in GitHub Desktop.
Monteverdi 1.8.0 Archlinux
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Argyros Argyridis <arargyridis@gmail.com>
# Contributor: Samuel Fernando Mesa Giraldo <samuelmesa@linuxmail.org>
pkgname=monteverdi
pkgver=1.18
pkgrel=0
pkgdesc="A remote sensing application based on Orfeo Toolbox"
arch=(x86_64)
url="http://www.orfeo-toolbox.org/otb/monteverdi.html"
license=('CeCILL')
groups=()
depends=('orfeo-toolbox')
makedepends=()
optdepends=()
provides=(monteverdi)
conflicts=(monteverdi)
replaces=(monteverdi)
backup=()
options=()
install=
changelog=
source=(http://softlayer-dal.dl.sourceforge.net/project/orfeo-toolbox/Monteverdi-$pkgver.$pkgrel.tgz)
noextract=()
md5sums=(f906354447378ac12e83dfd9d47383f5) #generate with 'makepkg -g'
build() {
#msg "checking done or server timeout occurerror while loading shared libraries: libfltk.so.9: cannot open shared object file: No such file or directory ed"
msg "starting make..."
rm -rf build/
mkdir build/
cd build
ls -l
export LD_LIBRARY_PATH=/usr/local/lib/otb
cmake ../Monteverdi-$pkgver.$pkgrel -DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/"build
make DESTDIR="$pkgdir" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment