wok-current annotate openjpeg2/receipt @ rev 24933

updated muparser and muparser-dev (2.2.6.1 -> 2.3.3)
author Hans-G?nter Theisgen
date Wed Apr 13 17:29:40 2022 +0100 (2022-04-13)
parents 4b9ad2d4ee30
children f4bdbf65d59d
rev   line source
al@14429 1 # SliTaz package receipt.
al@14429 2
al@14429 3 PACKAGE="openjpeg2"
Hans-G?nter@21629 4 VERSION="2.3.1"
al@14429 5 CATEGORY="development"
Hans-G?nter@21629 6 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)."
al@14429 7 MAINTAINER="al.bobylev@gmail.com"
pascal@14657 8 LICENSE="BSD"
Hans-G?nter@21629 9 WEB_SITE="https://www.openjpeg.org/"
Hans-G?nter@21629 10
Hans-G?nter@21629 11 SOURCE="openjpeg"
Hans-G?nter@21629 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21630 13 WGET_URL="https://github.com/uclouvain/$SOURCE/archive/v$VERSION.tar.gz"
al@14429 14
al@14429 15 DEPENDS="glibc-base tiff zlib"
al@14429 16 BUILD_DEPENDS="cmake tiff-dev"
al@14429 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
al@14429 24 # Rules to configure and make the package.
al@14429 25 compile_rules()
al@14429 26 {
Hans-G?nter@21629 27 cmake . \
Hans-G?nter@21629 28 -DCMAKE_INSTALL_PREFIX=/usr &&
Hans-G?nter@21629 29 make &&
Hans-G?nter@21629 30 make install
al@14429 31 }
al@14429 32
al@14429 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@14429 34 genpkg_rules()
al@14429 35 {
al@14429 36 mkdir -p $fs/usr/lib
Hans-G?nter@21629 37
Hans-G?nter@21629 38 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21629 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14429 40 }