wok view libraw/receipt @ rev 13160

slitaz-boot-scripts: use chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 25 18:28:25 2012 +0200 (2012-07-25)
parents
children 2941e69a878e
line source
1 # SliTaz package receipt.
3 PACKAGE="libraw"
4 VERSION="0.14.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://www.libraw.org/"
9 SOURCE="LibRaw"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WGET_URL="http://www.libraw.org/data/$TARBALL"
13 DEPENDS="lcms"
14 BUILD_DEPENDS="lcms-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }