wok annotate openjpeg/receipt @ rev 25148

updated privoxy (3.0.28 -> 3.0.33)
author Hans-G?nter Theisgen
date Wed Jun 29 16:30:00 2022 +0100 (2022-06-29)
parents ecff687ff0fc
children 7364ffdaaa60
rev   line source
slaxemulator@6843 1 # SliTaz package receipt.
slaxemulator@6843 2
slaxemulator@6843 3 PACKAGE="openjpeg"
Hans-G?nter@25017 4 VERSION="1.5.2"
slaxemulator@6843 5 CATEGORY="development"
Hans-G?nter@25017 6 SHORT_DESC="An open source JPEG 2000 codec."
slaxemulator@6843 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14657 8 LICENSE="BSD"
Hans-G?nter@25017 9 WEB_SITE="https://www.openjpeg.org/"
Hans-G?nter@25017 10
slaxemulator@12315 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25017 12 WGET_URL="https://github.com/uclouvain/$PACKAGE/archive/refs/tags/version.$VERSION.tar.gz"
slaxemulator@6843 13
al@14429 14 DEPENDS="glibc-base"
Hans-G?nter@25018 15 BUILD_DEPENDS="autoconf automake jpeg-dev libtool tiff-dev zlib-dev"
Hans-G?nter@25017 16
Hans-G?nter@25017 17 HOST_ARCH="i486 arm"
pankso@16218 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - https://github.com/uclouvain/openjpeg/releases 2>/dev/null | \
pascal@24453 23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24453 24 }
pascal@24453 25
slaxemulator@6843 26 # Rules to configure and make the package.
slaxemulator@6843 27 compile_rules()
slaxemulator@6843 28 {
Hans-G?nter@25017 29 # make sure we use system libraries
Hans-G?nter@25017 30 [ -d thirdparty ] && rm -rf thirdparty
Hans-G?nter@25017 31
Hans-G?nter@25017 32 ./bootstrap.sh &&
Hans-G?nter@25017 33 ./configure \
Hans-G?nter@25017 34 --enable-lcms1=no \
Hans-G?nter@25017 35 --enable-lcms2=no \
Hans-G?nter@25017 36 --enable-png=no \
Hans-G?nter@25017 37 --disable-static \
gokhlayeh@11573 38 $CONFIGURE_ARGS &&
Hans-G?nter@25017 39 make &&
Hans-G?nter@25017 40 make install DESTDIR=$DESTDIR
slaxemulator@6843 41 }
slaxemulator@6843 42
slaxemulator@6843 43 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6843 44 genpkg_rules()
slaxemulator@6843 45 {
Hans-G?nter@25017 46 cook_copy_files *.so*
slaxemulator@6843 47 }