wok-6.x view openjpeg2/receipt @ rev 19287

get-vivaldi: update deps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 08:57:45 2016 +0200 (2016-07-06)
parents 159a8b382826
children d8351e891a67
line source
1 # SliTaz package receipt.
3 PACKAGE="openjpeg2"
4 VERSION="2.0.0"
5 CATEGORY="development"
6 SHORT_DESC="Open-source C-Library for JPEG 2000 (ver. 2.x)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="http://www.openjpeg.org/"
10 TARBALL="openjpeg-$VERSION.tar.gz"
11 WGET_URL="http://openjpeg.googlecode.com/files/$TARBALL"
13 DEPENDS="glibc-base tiff zlib"
14 BUILD_DEPENDS="cmake tiff-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $install/usr/bin $fs/usr
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 }