wok-6.x annotate libraw/receipt @ rev 16755
Up slitaz-boot-scripts (5.6.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 16 11:29:33 2014 +0200 (2014-06-16) |
parents | 2941e69a878e |
children | 6e8b1bcb30e2 |
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" |
pascal@15482 | 8 LICENSE="LGPL2.1" |
slaxemulator@11411 | 9 WEB_SITE="http://www.libraw.org/" |
slaxemulator@11411 | 10 SOURCE="LibRaw" |
slaxemulator@11411 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@11411 | 12 WGET_URL="http://www.libraw.org/data/$TARBALL" |
slaxemulator@11411 | 13 |
slaxemulator@11411 | 14 DEPENDS="lcms" |
slaxemulator@11411 | 15 BUILD_DEPENDS="lcms-dev" |
slaxemulator@11411 | 16 |
slaxemulator@11411 | 17 # Rules to configure and make the package. |
slaxemulator@11411 | 18 compile_rules() |
slaxemulator@11411 | 19 { |
slaxemulator@11411 | 20 cd $src |
slaxemulator@11411 | 21 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@11411 | 22 } |
slaxemulator@11411 | 23 |
slaxemulator@11411 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11411 | 25 genpkg_rules() |
slaxemulator@11411 | 26 { |
slaxemulator@11411 | 27 mkdir -p $fs/usr/lib |
slaxemulator@11411 | 28 cp -a $install/usr/bin $fs/usr |
slaxemulator@11411 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11411 | 30 } |