wok-current view jasper/receipt @ rev 21149
updated libboost packages (1.50.0 -> 1.69.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 30 10:43:29 2019 +0100 (2019-03-30) |
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 }