wok-next diff openexr/receipt @ rev 20463
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 06 11:29:35 2018 +0200 (2018-03-06) |
parents | 289e794fc5bc |
children | 4396aed7eb01 |
line diff
1.1 --- a/openexr/receipt Wed Jul 15 10:18:19 2015 +0200 1.2 +++ b/openexr/receipt Tue Mar 06 11:29:35 2018 +0200 1.3 @@ -1,30 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="openexr" 1.8 VERSION="2.2.0" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="openexr library for EXR images" 1.11 +SHORT_DESC="Library for EXR images" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="http://www.openexr.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.openexr.org/" 1.18 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL" 1.19 1.20 -DEPENDS="zlib ilmbase" 1.21 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev" 1.22 +SPLIT="openexr-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 +compile_rules() { 1.28 ./configure \ 1.29 $CONFIGURE_ARGS && 1.30 make && make install 1.31 } 1.32 1.33 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 -genpkg_rules() 1.35 -{ 1.36 - mkdir -p $fs/usr/lib 1.37 - cp -a $install/usr/bin $fs/usr 1.38 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.39 +genpkg_rules() { 1.40 + case $PACKAGE in 1.41 + openexr) 1.42 + mkdir -p $fs/usr/lib 1.43 + cp -a $install/usr/bin $fs/usr 1.44 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.45 + DEPENDS="zlib ilmbase" 1.46 + ;; 1.47 + *-dev) 1.48 + mkdir -p $fs/usr/lib $fs/usr/share 1.49 + cp -a $install/usr/include $fs/usr 1.50 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.51 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.52 + cp -a $install/usr/share/aclocal $fs/usr/share 1.53 + ;; 1.54 + esac 1.55 }