wok view jasper/receipt @ rev 25732
Up liblzma (5.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 21 17:39:11 2024 +0000 (3 months ago) |
parents | 20ad21d5532c |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="jasper"
4 VERSION="3.0.2"
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="https://www.ece.uvic.ca/~frodo/jasper/"
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"
18 HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
24 sed '/-rc[1-9]/d;/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir _build &&
31 cd _build &&
32 cmake .. \
33 -G "Unix Makefiles" \
34 -D CMAKE_INSTALL_PREFIX=/usr \
35 -D JAS_ENABLE_SHARED=yes &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_files *.so*
45 }