wok-4.x rev 11411

Add libraw.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 21:23:02 2011 +0000 (2011-12-10)
parents 6910bc72b9f8
children 5b21efe08bd3
files libraw-dev/receipt libraw/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libraw-dev/receipt	Sat Dec 10 21:23:02 2011 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libraw-dev"
     1.7 +VERSION="0.14.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for libraw"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://www.libraw.org/"
    1.12 +DEPENDS="libraw"
    1.13 +WANTED="libraw"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib
    1.19 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $install/usr/include $fs/usr
    1.21 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.22 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libraw/receipt	Sat Dec 10 21:23:02 2011 +0000
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libraw"
     2.7 +VERSION="0.14.3"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +WEB_SITE="http://www.libraw.org/"
    2.12 +SOURCE="LibRaw"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WGET_URL="http://www.libraw.org/data/$TARBALL"
    2.15 +
    2.16 +DEPENDS="lcms"
    2.17 +BUILD_DEPENDS="lcms-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	cd $src
    2.23 +	./configure $CONFIGURE_ARGS && make && make install
    2.24 +}
    2.25 +
    2.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.27 +genpkg_rules()
    2.28 +{
    2.29 +	mkdir -p $fs/usr/lib
    2.30 +	cp -a $install/usr/bin $fs/usr
    2.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.32 +}