mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libopenraw: Updated for version 0.0.7
This commit is contained in:
parent
589f0589b8
commit
a494e57c73
4 changed files with 38 additions and 25 deletions
|
@ -1,9 +1,11 @@
|
|||
libopenraw is an ongoing project to provide a free software implementation
|
||||
for camera RAW files decoding. One of the main reasons is that dcraw is not
|
||||
suited for easy integration into applications, and there is a need for an
|
||||
easy to use API to build free software digital image processing applications.
|
||||
libopenraw is an ongoing project to provide a free software
|
||||
implementation for camera RAW files decoding. One of the main
|
||||
reason is that dcraw is not suited for easy integration into
|
||||
applications, and there is a need for an easy to use API to
|
||||
build free software digital image processing application.
|
||||
|
||||
It also has the goal to address missing features of dcraw like meta-data
|
||||
decoding and easy thumbnail extraction.
|
||||
It also has the goal to address missing feature from dcraw
|
||||
like meta-data decoding and easy thumbnail extraction.
|
||||
|
||||
libopenraw requires boost (also available at SlackBuilds.org).
|
||||
libopenraw requires boost (a SlackBuild script is available at
|
||||
SlackBuilds.org)
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for libopenraw
|
||||
|
||||
# Copyright 2008 Michiel van Wessem <michiel@slackbuilds.org>
|
||||
# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -24,8 +23,11 @@
|
|||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
# Exit on most errors
|
||||
set -e
|
||||
|
||||
PRGNAM=libopenraw
|
||||
VERSION=0.0.3
|
||||
VERSION=${VERSION:-0.0.7}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
@ -36,18 +38,21 @@ PKG=$TMP/package-$PRGNAM
|
|||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
|
@ -59,10 +64,16 @@ find . \
|
|||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
|
@ -70,7 +81,7 @@ make install DESTDIR=$PKG
|
|||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="libopenraw"
|
||||
VERSION="0.0.3"
|
||||
VERSION="0.0.7"
|
||||
HOMEPAGE="http://libopenraw.freedesktop.org/wiki"
|
||||
DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.3.tar.gz"
|
||||
MD5SUM="53494b54e4d982e3a9871c6e5e66eced"
|
||||
DOWNLOAD="http://libopenraw.freedesktop.org/download/libopenraw-0.0.7.tar.gz"
|
||||
MD5SUM="fe3a27b120df07b1184132624cf4bcd1"
|
||||
MAINTAINER="Michiel van Wessem"
|
||||
EMAIL="michiel@slackbuilds.org"
|
||||
APPROVED="rworkman"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -6,13 +6,13 @@
|
|||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
libopenraw: libopenraw (free software library for RAW files)
|
||||
libopenraw: libopenraw (a library for camera RAW file decoding)
|
||||
libopenraw:
|
||||
libopenraw: libopenraw is an ongoing project to provide a free software
|
||||
libopenraw: implementation for camera RAW files decoding. One of the main
|
||||
libopenraw: reasons is that dcraw is not suited for easy integration into
|
||||
libopenraw: reason is that dcraw is not suited for easy integration into
|
||||
libopenraw: applications, and there is a need for an easy to use API to
|
||||
libopenraw: build free software digital image processing applications.
|
||||
libopenraw: build free software digital image processing application.
|
||||
libopenraw:
|
||||
libopenraw: It also has the goal to address missing feature from dcraw
|
||||
libopenraw: like meta-data decoding and easy thumbnail extraction.
|
||||
|
|
Loading…
Reference in a new issue