openexr: added lib and -devel subpkgs; misc cleanups.
This commit is contained in:
parent
92d0352db8
commit
21a6990d2e
4 changed files with 28 additions and 6 deletions
|
@ -1600,3 +1600,4 @@ libIexMath-2_1.so.11 ilmbase-2.1.0_1
|
|||
libIlmThread-2_1.so.11 ilmbase-2.1.0_1
|
||||
libHalf.so.11 ilmbase-2.1.0_1
|
||||
libImath-2_1.so.11 ilmbase-2.1.0_1
|
||||
libIlmImf-Imf_2_1.so.21 libopenexr-2.1.0_1
|
||||
|
|
1
srcpkgs/libopenexr
Symbolic link
1
srcpkgs/libopenexr
Symbolic link
|
@ -0,0 +1 @@
|
|||
openexr
|
1
srcpkgs/libopenexr-devel
Symbolic link
1
srcpkgs/libopenexr-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
openexr
|
|
@ -1,20 +1,39 @@
|
|||
# Template file for 'openexr'
|
||||
pkgname=openexr
|
||||
version=2.1.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
CFLAGS="-fPIC"
|
||||
CXXFLAGS="-fPIC -lrt"
|
||||
maintainer="Carlo Dormeletti <carlo.dormeletti@email.it>"
|
||||
homepage="http://www.openexr.com/"
|
||||
license="BSD"
|
||||
short_desc="OpenEXR is a high dynamic-range (HDR) image file format"
|
||||
hostmakedepends="pkg-config "
|
||||
short_desc="High dynamic-range (HDR) image file format"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="ilmbase-devel zlib-devel"
|
||||
distfiles="http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||
checksum="54486b454073c1dcb5ae9892cf0f730ffefe62f38176325281505093fd218a14"
|
||||
|
||||
LDFLAGS="-lrt"
|
||||
|
||||
post_install(){
|
||||
# license
|
||||
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
||||
}
|
||||
|
||||
libopenexr_package() {
|
||||
short_desc+=" - runtime libraries"
|
||||
pkg_install() {
|
||||
vmove usr/lib/*.so.*
|
||||
}
|
||||
}
|
||||
|
||||
libopenexr-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="zlib-devel ilmbase-devel libopenexr>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue