wok-6.x annotate 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 |
rev | line source |
---|---|
slaxemulator@6843 | 1 # SliTaz package receipt. |
slaxemulator@6843 | 2 |
slaxemulator@6843 | 3 PACKAGE="openjpeg" |
slaxemulator@12315 | 4 VERSION="1.5.0" |
slaxemulator@6843 | 5 CATEGORY="development" |
slaxemulator@6843 | 6 SHORT_DESC="An open source JPEG 2000 codec" |
slaxemulator@6843 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14657 | 8 LICENSE="BSD" |
slaxemulator@12315 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6843 | 10 WEB_SITE="http://www.openjpeg.org/" |
slaxemulator@8600 | 11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" |
pankso@16218 | 12 HOST_ARCH="i486 arm" |
slaxemulator@6843 | 13 |
al@14429 | 14 DEPENDS="glibc-base" |
pankso@16218 | 15 BUILD_DEPENDS="zlib-dev tiff-dev" |
pankso@16218 | 16 |
pascal@24453 | 17 # What is the latest version available today? |
pascal@24453 | 18 current_version() |
pascal@24453 | 19 { |
pascal@24453 | 20 wget -O - https://github.com/uclouvain/openjpeg/releases 2>/dev/null | \ |
pascal@24453 | 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24453 | 22 } |
pascal@24453 | 23 |
slaxemulator@6843 | 24 # Rules to configure and make the package. |
slaxemulator@6843 | 25 compile_rules() |
slaxemulator@6843 | 26 { |
slaxemulator@12315 | 27 # make sure we use system libs |
slaxemulator@12315 | 28 [ -d thirtparty ] && rm -rf thirtparty |
slaxemulator@8600 | 29 ./configure --enable-lcms2=no \ |
slaxemulator@8600 | 30 --enable-png=no \ |
slaxemulator@8600 | 31 --enable-lcms1=no \ |
gokhlayeh@11573 | 32 --disable-static \ |
gokhlayeh@11573 | 33 $CONFIGURE_ARGS && |
slaxemulator@12315 | 34 make && make DESTDIR=$DESTDIR install |
slaxemulator@6843 | 35 } |
slaxemulator@6843 | 36 |
slaxemulator@6843 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6843 | 38 genpkg_rules() |
slaxemulator@6843 | 39 { |
slaxemulator@6843 | 40 mkdir -p $fs/usr/lib |
al@14429 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6843 | 42 } |
slaxemulator@6843 | 43 |