wok view jasper/receipt @ rev 24347

Up expat (2.4.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 02 09:41:22 2022 +0000 (2022-02-02)
parents 5ea0ce1cecc0
children 73f2eb72a8fe
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tags.version.*tar/!d;s|.*/version-\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir builddir
29 cmake . \
30 -G "Unix Makefiles" \
31 -Bbuilddir \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DJAS_ENABLE_SHARED=yes &&
34 cd builddir
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*so* $fs/usr/lib
46 }