wok-current annotate openjpeg2/receipt @ rev 21834
updated rdesktop (1.8.3 -> 1.8.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 14 10:01:13 2019 +0100 (2019-09-14) |
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 } |