wok-6.x view openjpeg/receipt @ rev 24959

updated ncdu (1.14.2 -> 1.16)
author Hans-G?nter Theisgen
date Sat Apr 23 16:59:14 2022 +0100 (2022-04-23)
parents dad87079f1a0
children 94dd3813f40d
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg"
4 VERSION="1.5.0"
5 CATEGORY="development"
6 SHORT_DESC="An open source JPEG 2000 codec"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.openjpeg.org/"
11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="zlib-dev tiff-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/uclouvain/openjpeg/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # make sure we use system libs
28 [ -d thirtparty ] && rm -rf thirtparty
29 ./configure --enable-lcms2=no \
30 --enable-png=no \
31 --enable-lcms1=no \
32 --disable-static \
33 $CONFIGURE_ARGS &&
34 make && make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }