wok annotate jasper/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | f8a963794d31 |
children | 20ad21d5532c |
rev | line source |
---|---|
jozee@3038 | 1 # SliTaz package receipt. |
jozee@3038 | 2 |
jozee@3038 | 3 PACKAGE="jasper" |
Hans-G?nter@24685 | 4 VERSION="3.0.2" |
jozee@3038 | 5 CATEGORY="graphics" |
Hans-G?nter@21073 | 6 TAGS="jpeg jpg photo" |
Hans-G?nter@21073 | 7 SHORT_DESC="Implementation of JPEG-2000 codec." |
jozee@3038 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15601 | 9 LICENSE="MIT" |
Hans-G?nter@24685 | 10 WEB_SITE="https://www.ece.uvic.ca/~frodo/jasper/" |
Hans-G?nter@21073 | 11 |
Hans-G?nter@21073 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21073 | 13 WGET_URL="https://github.com/mdadams/$PACKAGE/archive/version-$VERSION.tar.gz" |
Hans-G?nter@21073 | 14 |
Hans-G?nter@21073 | 15 DEPENDS="freeglut jpeg libglu-mesa util-linux-uuid xorg-libXi xorg-libXmu" |
Hans-G?nter@21074 | 16 BUILD_DEPENDS="cmake jpeg-dev xorg-libXi-dev xorg-libXmu-dev" |
Hans-G?nter@24685 | 17 |
pascal@19096 | 18 HOST_ARCH="i486 arm" |
jozee@3038 | 19 |
pascal@24055 | 20 current_version() |
pascal@24055 | 21 { |
pascal@24055 | 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24100 | 23 sed '/tags.version.*tar/!d;s|.*/version-\(.*\).tar.*|\1|;q' |
pascal@24055 | 24 } |
pascal@24055 | 25 |
jozee@3038 | 26 # Rules to configure and make the package. |
jozee@3038 | 27 compile_rules() |
jozee@3038 | 28 { |
Hans-G?nter@24685 | 29 mkdir _build && |
Hans-G?nter@24685 | 30 cd _build && |
Hans-G?nter@24685 | 31 cmake .. \ |
Hans-G?nter@21073 | 32 -G "Unix Makefiles" \ |
Hans-G?nter@24685 | 33 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24685 | 34 -D JAS_ENABLE_SHARED=yes && |
Hans-G?nter@24685 | 35 make && |
Hans-G?nter@24685 | 36 make install DESTDIR=$DESTDIR |
jozee@3038 | 37 } |
jozee@3038 | 38 |
jozee@3038 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3038 | 40 genpkg_rules() |
jozee@3038 | 41 { |
Hans-G?nter@24685 | 42 cook_copy_folders bin |
Hans-G?nter@24685 | 43 cook_copy_files *.so* |
jozee@3038 | 44 } |