wok-next view openjpeg2/receipt @ rev 15215

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 14 17:06:00 2013 +0000 (2013-09-14)
parents 159a8b382826
children 9b83ae3e9ce7
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 }