aboutsummaryrefslogblamecommitdiffstats
path: root/community/openexr/APKBUILD
blob: 8db8eeef869bea0562a4232e8c0a33d3fc14b0dd (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                              
                                                     
               
            
        
                                                        


                             
          
                                  
                                                      
                                                                                         
                                   
 
           

                                   
                                     


         
                      








                                         



                        
                                






                                                  

 


                                                                                                                                                                   
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Mark Riedesel <mark+alpine@klowner.com>
pkgname=openexr
pkgver=2.2.0
pkgrel=2
pkgdesc="A high dynamic-range image file format library"
url="http://www.openexr.com/"
arch="all"
license="BSD"
depends=""
makedepends="ilmbase-dev zlib-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-tools"
source="http://download.savannah.nongnu.org/releases/openexr/${pkgname}-${pkgver}.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$builddir"
	default_prepare || return 1
	update_config_sub || return 1
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	make DESTDIR="$pkgdir" \
		-C "$builddir" install || return 1
}

tools() {
	cd "$builddir"
	mkdir -p "$subpkgdir"/usr/
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}

md5sums="b64e931c82aa3790329c21418373db4e  openexr-2.2.0.tar.gz"
sha256sums="36a012f6c43213f840ce29a8b182700f6cf6b214bea0d5735594136b44914231  openexr-2.2.0.tar.gz"
sha512sums="017abbeeb6b814508180721bc8e8940094965c4c55b135a198c6bcb109a04bf7f72e4aee81ee72cb2185fe818a41d892b383e8d2d59f40c673198948cb79279a  openexr-2.2.0.tar.gz"