wok-current view openjpeg2/receipt @ rev 15685

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:07 2013 +0100 (2013-12-21)
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 }