wok-next annotate 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
rev   line source
al@20463 1 # SliTaz package receipt v2.
slaxemulator@6556 2
slaxemulator@6556 3 PACKAGE="openexr"
pascal@18204 4 VERSION="2.2.0"
slaxemulator@6556 5 CATEGORY="x-window"
al@20463 6 SHORT_DESC="Library for EXR images"
slaxemulator@6556 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="BSD"
al@20463 9 WEB_SITE="http://www.openexr.org/"
al@20463 10
slaxemulator@6556 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6556 12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
slaxemulator@6556 13
pascal@15601 14 BUILD_DEPENDS="zlib zlib-dev ilmbase-dev"
al@20463 15 SPLIT="openexr-dev"
pascal@15601 16
al@20463 17 compile_rules() {
slaxemulator@6556 18 ./configure \
slaxemulator@6556 19 $CONFIGURE_ARGS &&
slaxemulator@10177 20 make && make install
slaxemulator@6556 21 }
slaxemulator@6556 22
al@20463 23 genpkg_rules() {
al@20463 24 case $PACKAGE in
al@20463 25 openexr)
al@20463 26 mkdir -p $fs/usr/lib
al@20463 27 cp -a $install/usr/bin $fs/usr
al@20463 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@20463 29 DEPENDS="zlib ilmbase"
al@20463 30 ;;
al@20463 31 *-dev)
al@20463 32 mkdir -p $fs/usr/lib $fs/usr/share
al@20463 33 cp -a $install/usr/include $fs/usr
al@20463 34 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20463 35 cp -a $install/usr/lib/*.*a $fs/usr/lib
al@20463 36 cp -a $install/usr/share/aclocal $fs/usr/share
al@20463 37 ;;
al@20463 38 esac
slaxemulator@6556 39 }