wok-current annotate jasper/receipt @ rev 21145
Update some WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 28 14:01:40 2019 +0100 (2019-03-28) |
parents | a0e682d8c53d |
children | 5ea0ce1cecc0 |
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 |
jozee@3038 | 19 # Rules to configure and make the package. |
jozee@3038 | 20 compile_rules() |
jozee@3038 | 21 { |
Hans-G?nter@21073 | 22 mkdir builddir |
Hans-G?nter@21073 | 23 cmake . \ |
Hans-G?nter@21073 | 24 -G "Unix Makefiles" \ |
Hans-G?nter@21073 | 25 -Bbuilddir \ |
Hans-G?nter@21073 | 26 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21073 | 27 -DJAS_ENABLE_SHARED=yes && |
Hans-G?nter@21073 | 28 cd builddir |
Hans-G?nter@21073 | 29 make -j 1 && |
pascal@15601 | 30 make DESTDIR=$DESTDIR install |
jozee@3038 | 31 |
jozee@3038 | 32 } |
jozee@3038 | 33 |
jozee@3038 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3038 | 35 genpkg_rules() |
jozee@3038 | 36 { |
Hans-G?nter@21073 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21073 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21073 | 39 cp -a $install/usr/lib/*so* $fs/usr/lib |
jozee@3038 | 40 } |