diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/opengtl |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/opengtl')
-rw-r--r-- | extra/opengtl/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD new file mode 100644 index 000000000..582f3928f --- /dev/null +++ b/extra/opengtl/PKGBUILD @@ -0,0 +1,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 +} |