wok-6.x annotate jasper/receipt @ rev 24501
updated drbd-utils (9.11.0 -> 9.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 09:23:47 2022 +0100 (2022-02-20) |
parents | 5ea0ce1cecc0 |
children | 73f2eb72a8fe |
rev | line source |
---|---|
jozee@3038 | 1 # SliTaz package receipt. |
jozee@3038 | 2 |
jozee@3038 | 3 PACKAGE="jasper" |
Hans-G?nter@21073 | 4 VERSION="2.0.16" |
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" |
jozee@3038 | 10 WEB_SITE="http://www.ece.uvic.ca/~mdadams/$PACKAGE/" |
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" |
pascal@19096 | 17 HOST_ARCH="i486 arm" |
jozee@3038 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24100 | 22 sed '/tags.version.*tar/!d;s|.*/version-\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
jozee@3038 | 25 # Rules to configure and make the package. |
jozee@3038 | 26 compile_rules() |
jozee@3038 | 27 { |
Hans-G?nter@21073 | 28 mkdir builddir |
Hans-G?nter@21073 | 29 cmake . \ |
Hans-G?nter@21073 | 30 -G "Unix Makefiles" \ |
Hans-G?nter@21073 | 31 -Bbuilddir \ |
Hans-G?nter@21073 | 32 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21073 | 33 -DJAS_ENABLE_SHARED=yes && |
Hans-G?nter@21073 | 34 cd builddir |
Hans-G?nter@21073 | 35 make -j 1 && |
pascal@15601 | 36 make DESTDIR=$DESTDIR install |
jozee@3038 | 37 |
jozee@3038 | 38 } |
jozee@3038 | 39 |
jozee@3038 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3038 | 41 genpkg_rules() |
jozee@3038 | 42 { |
Hans-G?nter@21073 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@21073 | 44 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21073 | 45 cp -a $install/usr/lib/*so* $fs/usr/lib |
jozee@3038 | 46 } |