wok-current view jasper/receipt @ rev 23153
updated lxtask (0.1.8 -> 0.1.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 15 16:52:17 2020 +0100 (2020-03-15) |
parents | a0e682d8c53d |
children | 5ea0ce1cecc0 |
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="cmake 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 }