# HG changeset patch # User Hans-G?nter Theisgen # Date 1559046616 -3600 # Node ID d8351e891a677f9b64145d3ad88f297f8dfc0290 # Parent 0e811092e7bb388f55364fb20338daa126978d09 updated openjpeg2 and openjpeg2-dev (2.0.0 -> 2.3.1) diff -r 0e811092e7bb -r d8351e891a67 openjpeg2-dev/receipt --- a/openjpeg2-dev/receipt Mon May 27 23:23:13 2019 +0200 +++ b/openjpeg2-dev/receipt Tue May 28 13:30:16 2019 +0100 @@ -1,12 +1,12 @@ # SliTaz package receipt. PACKAGE="openjpeg2-dev" -VERSION="2.0.0" +VERSION="2.3.1" CATEGORY="development" -SHORT_DESC="Development files for openjpeg (ver. 2.x)" +SHORT_DESC="Development files for openjpeg (ver. 2.x)." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="http://www.openjpeg.org/" +WEB_SITE="https://www.openjpeg.org/" DEPENDS="openjpeg2" WANTED="openjpeg2" @@ -15,7 +15,7 @@ genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/include $fs/usr - cp -a $install/usr/lib/openjpeg-* $fs/usr/lib + + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/openjpeg-* $fs/usr/lib } - diff -r 0e811092e7bb -r d8351e891a67 openjpeg2/receipt --- a/openjpeg2/receipt Mon May 27 23:23:13 2019 +0200 +++ b/openjpeg2/receipt Tue May 28 13:30:16 2019 +0100 @@ -1,14 +1,16 @@ # SliTaz package receipt. PACKAGE="openjpeg2" -VERSION="2.0.0" +VERSION="2.3.1" CATEGORY="development" -SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)" +SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" -WEB_SITE="http://www.openjpeg.org/" -TARBALL="openjpeg-$VERSION.tar.gz" -WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" +WEB_SITE="https://www.openjpeg.org/" + +SOURCE="openjpeg" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/uclouvain/$SOURCE/archive/$VERSION.tar.gz" DEPENDS="glibc-base tiff zlib" BUILD_DEPENDS="cmake tiff-dev" @@ -16,14 +18,17 @@ # Rules to configure and make the package. compile_rules() { - cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install + cmake . \ + -DCMAKE_INSTALL_PREFIX=/usr && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $install/usr/bin $fs/usr - cp -a $install/usr/lib/*.so* $fs/usr/lib + + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib } -