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

drbl: fix no /usr/bin
author Richard Dunbar <mojo@slitaz.org>
date Sun May 26 12:45:28 2013 +0000 (2013-05-26)
parents
children ad59999b3fce
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="BSD3"
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 }