summaryrefslogtreecommitdiff
path: root/extra/opengtl/PKGBUILD
blob: 582f3928f961bb1de5d1aac3cec997901d4a939e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 111122 2011-02-24 06:35:03Z eric $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andries Radu <admiral0@live.it>

pkgname=opengtl
pkgver=0.9.15
pkgrel=1
pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
url="http://www.opengtl.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gcc-libs')
makedepends=('cmake' 'llvm' 'libpng')
optdepends=('libpng: for using the png extension')
source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2)
md5sums=('9e59817fddfc7085a8d23a6bbea60bdc')
sha1sums=('12d53a6ba660d278906539f74d28b464601a08a3')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../OpenGTL-${pkgver} \
                -DCMAKE_BUILD_TYPE=Release \
                -DCMAKE_SKIP_RPATH=ON \
		-DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}