mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:24:39 +08:00
33 lines
741 B
Bash
33 lines
741 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=ilmbase
|
|
pkgver=2.2.1
|
|
pkgrel=2
|
|
depends=('gcc-libs')
|
|
pkgdesc="IlmThread is a thread abstraction library for use with OpenEXR"
|
|
arch=(x86_64)
|
|
license=('custom')
|
|
source=(http://download.savannah.gnu.org/releases/openexr/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('7b86128b04f0541b6bb33633e299cb44')
|
|
url="http://www.openexr.com"
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
# one of the tests fails randomly for an unknown reason
|
|
make check || true
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
make DESTDIR=${pkgdir} install
|
|
install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
|
}
|