wok-current annotate openjpeg2/receipt @ rev 20526
Add arandr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 07 10:46:58 2018 +0100 (2018-11-07) |
parents | 159a8b382826 |
children | d8351e891a67 |
rev | line source |
---|---|
al@14429 | 1 # SliTaz package receipt. |
al@14429 | 2 |
al@14429 | 3 PACKAGE="openjpeg2" |
al@14429 | 4 VERSION="2.0.0" |
al@14429 | 5 CATEGORY="development" |
al@14429 | 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" |
al@14429 | 9 WEB_SITE="http://www.openjpeg.org/" |
al@14429 | 10 TARBALL="openjpeg-$VERSION.tar.gz" |
al@14429 | 11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL" |
al@14429 | 12 |
al@14429 | 13 DEPENDS="glibc-base tiff zlib" |
al@14429 | 14 BUILD_DEPENDS="cmake tiff-dev" |
al@14429 | 15 |
al@14429 | 16 # Rules to configure and make the package. |
al@14429 | 17 compile_rules() |
al@14429 | 18 { |
al@14429 | 19 cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install |
al@14429 | 20 } |
al@14429 | 21 |
al@14429 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14429 | 23 genpkg_rules() |
al@14429 | 24 { |
al@14429 | 25 mkdir -p $fs/usr/lib |
al@14429 | 26 cp -a $install/usr/bin $fs/usr |
al@14429 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14429 | 28 } |
al@14429 | 29 |