wok annotate libraw/receipt @ rev 14900
Add firmware-mod-kit
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 31 11:20:11 2013 +0200 (2013-07-31) |
parents | 50f2074fd68b |
children | 8d6f480bf664 |
rev | line source |
---|---|
slaxemulator@11411 | 1 # SliTaz package receipt. |
slaxemulator@11411 | 2 |
slaxemulator@11411 | 3 PACKAGE="libraw" |
domcox@14372 | 4 VERSION="0.14.7" |
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 } |