wok view openjpeg/receipt @ rev 25279

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