wok-current annotate openjpeg2/receipt @ rev 24052
Up slitaz-boot-scripts (469)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 26 19:58:37 2021 +0000 (2021-05-26) |
parents | d8351e891a67 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="openjpeg2" |
Hans-G?nter@21629 | 4 VERSION="2.3.1" |
al@14429 | 5 CATEGORY="development" |
Hans-G?nter@21629 | 6 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)." |
al@14429 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14657 | 8 LICENSE="BSD" |
Hans-G?nter@21629 | 9 WEB_SITE="https://www.openjpeg.org/" |
Hans-G?nter@21629 | 10 |
Hans-G?nter@21629 | 11 SOURCE="openjpeg" |
Hans-G?nter@21629 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21630 | 13 WGET_URL="https://github.com/uclouvain/$SOURCE/archive/v$VERSION.tar.gz" |
al@14429 | 14 |
al@14429 | 15 DEPENDS="glibc-base tiff zlib" |
al@14429 | 16 BUILD_DEPENDS="cmake tiff-dev" |
al@14429 | 17 |
al@14429 | 18 # Rules to configure and make the package. |
al@14429 | 19 compile_rules() |
al@14429 | 20 { |
Hans-G?nter@21629 | 21 cmake . \ |
Hans-G?nter@21629 | 22 -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@21629 | 23 make && |
Hans-G?nter@21629 | 24 make install |
al@14429 | 25 } |
al@14429 | 26 |
al@14429 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 28 genpkg_rules() |
al@14429 | 29 { |
al@14429 | 30 mkdir -p $fs/usr/lib |
Hans-G?nter@21629 | 31 |
Hans-G?nter@21629 | 32 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21629 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14429 | 34 } |