wok-6.x 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 | f506bac458e6 |
children | 8319867b78ae |
files | jasper-dev/receipt jasper/receipt |
line diff
1.1 --- a/jasper-dev/receipt Thu Mar 14 16:24:31 2019 +0100 1.2 +++ b/jasper-dev/receipt Thu Mar 14 17:17:35 2019 +0100 1.3 @@ -1,22 +1,23 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="jasper-dev" 1.7 -VERSION="1.900.1" 1.8 +VERSION="2.0.16" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="jasper devel files" 1.11 +SHORT_DESC="Jasper development files." 1.12 MAINTAINER="jozee@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="http://www.ece.uvic.ca/~mdadams/jasper/" 1.15 + 1.16 WANTED="jasper" 1.17 -WEB_SITE="http://www.ece.uvic.ca/~mdadams/jasper/" 1.18 +DEPENDS="jasper pkg-config" 1.19 HOST_ARCH="i486 arm" 1.20 1.21 -DEPENDS="jasper pkg-config" 1.22 - 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 genpkg_rules() 1.25 { 1.26 - mkdir -p $fs/usr/lib 1.27 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.28 + mkdir -p $fs/usr 1.29 + 1.30 + #cp -a $install/usr/lib/*.*a $fs/usr/lib 1.31 #cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.32 cp -a $install/usr/include $fs/usr 1.33 }
2.1 --- a/jasper/receipt Thu Mar 14 16:24:31 2019 +0100 2.2 +++ b/jasper/receipt Thu Mar 14 17:17:35 2019 +0100 2.3 @@ -1,27 +1,32 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="jasper" 2.7 -VERSION="1.900.1" 2.8 +VERSION="2.0.16" 2.9 CATEGORY="graphics" 2.10 -SHORT_DESC="implementation of JPEG-2000 codec" 2.11 +TAGS="jpeg jpg photo" 2.12 +SHORT_DESC="Implementation of JPEG-2000 codec." 2.13 MAINTAINER="jozee@slitaz.org" 2.14 LICENSE="MIT" 2.15 -TARBALL="$PACKAGE-$VERSION.zip" 2.16 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" 2.17 -WGET_URL="$WEB_SITE/software/$TARBALL" 2.18 -TAGS="jpeg jpg photo" 2.19 + 2.20 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.21 +WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz" 2.22 + 2.23 +DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu" 2.24 +BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev" 2.25 HOST_ARCH="i486 arm" 2.26 2.27 -DEPENDS="xorg-libXi xorg-libXmu jpeg freeglut libglu-mesa util-linux-uuid" 2.28 -BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev autoconf" 2.29 - 2.30 # Rules to configure and make the package. 2.31 compile_rules() 2.32 { 2.33 - cd $src 2.34 - chmod +x configure 2.35 - ./configure --prefix=/usr --mandir=/usr/share/man --enable-shared $CONFIGURE_ARGS && 2.36 - make && 2.37 + mkdir builddir 2.38 + cmake . \ 2.39 + -G "Unix Makefiles" \ 2.40 + -Bbuilddir \ 2.41 + -DCMAKE_INSTALL_PREFIX=/usr \ 2.42 + -DJAS_ENABLE_SHARED=yes && 2.43 + cd builddir 2.44 + make -j 1 && 2.45 make DESTDIR=$DESTDIR install 2.46 2.47 } 2.48 @@ -29,8 +34,7 @@ 2.49 # Rules to gen a SliTaz package suitable for Tazpkg. 2.50 genpkg_rules() 2.51 { 2.52 - mkdir -p $fs/usr/lib 2.53 - cp -a $install/usr/bin $fs/usr 2.54 - cp -a $install/usr/lib/*so* $fs/usr/lib 2.55 - 2.56 + mkdir -p $fs/usr/lib 2.57 + cp -a $install/usr/bin $fs/usr 2.58 + cp -a $install/usr/lib/*so* $fs/usr/lib 2.59 }