wok-6.x view jasper/receipt @ rev 21208

Update deadbeef (1.8.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 09 12:13:22 2019 +0300 (2019-04-09)
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 }