wok-next diff jasper/receipt @ rev 19789
Add js, up pam, polkit, polkit-pam; fix typo in btrfs-progs.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 20 03:48:54 2017 +0300 (2017-06-20) |
parents | 4048d48a47c1 |
children | c4e53a39395a |
line diff
1.1 --- a/jasper/receipt Fri Apr 21 14:48:05 2017 +0300 1.2 +++ b/jasper/receipt Tue Jun 20 03:48:54 2017 +0300 1.3 @@ -1,40 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="jasper" 1.8 -VERSION="1.900.1" 1.9 +VERSION="2.0.12" 1.10 CATEGORY="graphics" 1.11 SHORT_DESC="Implementation of JPEG-2000 codec" 1.12 MAINTAINER="jozee@slitaz.org" 1.13 LICENSE="MIT" 1.14 -WEB_SITE="http://www.ece.uvic.ca/~mdadams/jasper/" 1.15 -TAGS="jpeg jpg photo" 1.16 +WEB_SITE="http://www.ece.uvic.ca/~frodo/jasper/" 1.17 HOST_ARCH="i486 arm" 1.18 1.19 -TARBALL="$PACKAGE-$VERSION.zip" 1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.21 WGET_URL="${WEB_SITE}software/$TARBALL" 1.22 1.23 -DEPENDS="" 1.24 -BUILD_DEPENDS="gfortran xorg-libX11-dev" 1.25 +BUILD_DEPENDS="cmake libjpeg-turbo-dev" 1.26 +SPLIT="jasper-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - while read i; do patch -p1 -i $stuff/patches/$i; done < $stuff/patches/series 1.32 - 1.33 - ./configure \ 1.34 - --enable-shared \ 1.35 - --disable-static \ 1.36 - --mandir=/usr/share/man \ 1.37 - $CONFIGURE_ARGS && 1.38 - make && make install && 1.39 - 1.40 - install -v -m755 -d $install/usr/share/doc/jasper-$VERSION && 1.41 - install -v -m644 doc/*.pdf $install/usr/share/doc/jasper-$VERSION 1.42 + mkdir -p build 1.43 + cmake -G "Unix Makefiles" -H. -Bbuild -DCMAKE_INSTALL_PREFIX=/usr 1.44 + cd build 1.45 + make clean all && 1.46 + make install 1.47 } 1.48 1.49 # Rules to gen a SliTaz package suitable for Tazpkg. 1.50 genpkg_rules() 1.51 { 1.52 - cook_copy_folders bin 1.53 - cook_copy_files *.so* 1.54 + case $PACKAGE in 1.55 + jasper) 1.56 + copy @std 1.57 + DEPENDS="libjpeg-turbo" 1.58 + TAGS="jpeg jpg photo" 1.59 + ;; 1.60 + *-dev) copy @dev;; 1.61 + esac 1.62 }