wok-current view 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 source
1 # SliTaz package receipt.
3 PACKAGE="jasper"
4 VERSION="2.0.16"
5 CATEGORY="graphics"
6 TAGS="jpeg jpg photo"
7 SHORT_DESC="Implementation of JPEG-2000 codec."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz"
15 DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu"
16 BUILD_DEPENDS="jpeg-dev xorg-libXi-dev xorg-libXmu-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir builddir
23 cmake . \
24 -G "Unix Makefiles" \
25 -Bbuilddir \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DJAS_ENABLE_SHARED=yes &&
28 cd builddir
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 }