wok-current annotate openexr/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (7 months ago)
parents 5ea0ce1cecc0
children
rev   line source
slaxemulator@6556 1 # SliTaz package receipt.
slaxemulator@6556 2
slaxemulator@6556 3 PACKAGE="openexr"
pascal@23973 4 VERSION="2.5.3"
slaxemulator@6556 5 CATEGORY="x-window"
Hans-G?nter@22379 6 SHORT_DESC="Openexr library for EXR images."
slaxemulator@6556 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="BSD"
Hans-G?nter@22379 9 WEB_SITE="https://www.openexr.com/"
Hans-G?nter@22379 10
slaxemulator@6556 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23264 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION/$TARBALL"
slaxemulator@6556 13
shann@25615 14 DEPENDS="ilmbase zlib"
shann@25615 15 BUILD_DEPENDS="cmake ilmbase-dev zlib-dev"
pascal@15601 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
slaxemulator@6556 23 # Rules to configure and make the package.
slaxemulator@6556 24 compile_rules()
slaxemulator@6556 25 {
Hans-G?nter@23264 26 mkdir build &&
Hans-G?nter@23264 27 cd build &&
Hans-G?nter@23264 28 cmake .. \
Hans-G?nter@23264 29 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@22379 30 make &&
Hans-G?nter@22379 31 make install
slaxemulator@6556 32 }
slaxemulator@6556 33
slaxemulator@6556 34 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6556 35 genpkg_rules()
slaxemulator@6556 36 {
slaxemulator@6556 37 mkdir -p $fs/usr/lib
Hans-G?nter@22379 38
Hans-G?nter@22379 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22379 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@6556 41 }