wok diff jasper/receipt @ rev 21073
updated jasper and jasper-dev (1.900.1 -> 2.0.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 14 17:17:35 2019 +0100 (2019-03-14) |
parents | 6e41896cc317 |
children | 8319867b78ae |
line diff
1.1 --- a/jasper/receipt Tue May 03 18:57:25 2016 +0200 1.2 +++ b/jasper/receipt Thu Mar 14 17:17:35 2019 +0100 1.3 @@ -1,27 +1,32 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jasper" 1.7 -VERSION="1.900.1" 1.8 +VERSION="2.0.16" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="implementation of JPEG-2000 codec" 1.11 +TAGS="jpeg jpg photo" 1.12 +SHORT_DESC="Implementation of JPEG-2000 codec." 1.13 MAINTAINER="jozee@slitaz.org" 1.14 LICENSE="MIT" 1.15 -TARBALL="$PACKAGE-$VERSION.zip" 1.16 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 1.17 -WGET_URL="$WEB_SITE/software/$TARBALL" 1.18 -TAGS="jpeg jpg photo" 1.19 + 1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.21 +WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz" 1.22 + 1.23 +DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu" 1.24 +BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev" 1.25 HOST_ARCH="i486 arm" 1.26 1.27 -DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid" 1.28 -BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev autoconf" 1.29 - 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - cd $src 1.34 - chmod +x configure 1.35 - ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared $CONFIGURE_ARGS && 1.36 - make && 1.37 + mkdir builddir 1.38 + cmake . \ 1.39 + -G "Unix Makefiles" \ 1.40 + -Bbuilddir \ 1.41 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.42 + -DJAS_ENABLE_SHARED=yes && 1.43 + cd builddir 1.44 + make -j 1 && 1.45 make DESTDIR=$DESTDIR install 1.46 1.47 } 1.48 @@ -29,8 +34,7 @@ 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - mkdir -p $fs/usr/lib 1.53 - cp -a $install/usr/bin $fs/usr 1.54 - cp -a $install/usr/lib/*so* $fs/usr/lib 1.55 - 1.56 + mkdir -p $fs/usr/lib 1.57 + cp -a $install/usr/bin $fs/usr 1.58 + cp -a $install/usr/lib/*so* $fs/usr/lib 1.59 }