mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 00:48:12 +08:00
27 lines
918 B
Bash
27 lines
918 B
Bash
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
# Contributor: Andries Radu <admiral0@live.it>
|
|
pkgname=opengtl
|
|
pkgver=0.9.13
|
|
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')
|
|
source=(http://www.opengtl.org/download/OpenGTL-${pkgver}.tar.bz2)
|
|
md5sums=('b44e0f5dbcbfe7253de8859c38ba39ef')
|
|
|
|
build() {
|
|
install -d ${srcdir}/build
|
|
cd ${srcdir}/build || return 1
|
|
cmake ../OpenGTL-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
-DCMAKE_INSTALL_PREFIX=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|