wok view openjpeg2/receipt @ rev 15806

Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 01:35:01 2014 +0000 (2014-01-24)
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 }