wok annotate libraw/receipt @ rev 12298

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