diff options
Diffstat (limited to 'development/CImg')
-rw-r--r-- | development/CImg/CImg.SlackBuild | 45 | ||||
-rw-r--r-- | development/CImg/CImg.info | 8 | ||||
-rw-r--r-- | development/CImg/README | 7 | ||||
-rw-r--r-- | development/CImg/slack-desc | 19 |
4 files changed, 79 insertions, 0 deletions
diff --git a/development/CImg/CImg.SlackBuild b/development/CImg/CImg.SlackBuild new file mode 100644 index 0000000000..a357878e95 --- /dev/null +++ b/development/CImg/CImg.SlackBuild @@ -0,0 +1,45 @@ +#!/bin/sh + +# Slackware build script for CImg +# Pierre Cazenave pwcazenave <at> gmail <dot> com 11/01/2009 + +PRGNAM=CImg +VERSION=1.2.9 +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R a-s,u+w,go+r-w . + +mkdir -p $PKG/usr/include/CImg +cat CImg.h > $PKG/usr/include/CImg/CImg.h +( cd $PKG/usr/include/ ; ln -sf /usr/include/CImg/CImg.h . ) + +mkdir -p $PKG/usr/share/CImg +cp -a plugins/ $PKG/usr/share/CImg + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html +cp -ar CHANGES.txt Licence* README.txt examples \ + $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -ar documentation/* $PKG/usr/doc/$PRGNAM-$VERSION/html +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/development/CImg/CImg.info b/development/CImg/CImg.info new file mode 100644 index 0000000000..df76f432c5 --- /dev/null +++ b/development/CImg/CImg.info @@ -0,0 +1,8 @@ +PRGNAM="CImg" +VERSION="1.2.9" +HOMEPAGE="http://cimg.sourceforge.net/" +DOWNLOAD="http://downloads.sourceforge.net/cimg/CImg-1.2.9.tar.gz" +MD5SUM="a06eeeaa6763738ddbbce01f0208657b" +MAINTAINER="Pierre Cazenave" +EMAIL="pwcazenave {at} gmail {dot} com" +APPROVED="rworkman" diff --git a/development/CImg/README b/development/CImg/README new file mode 100644 index 0000000000..5806fd2836 --- /dev/null +++ b/development/CImg/README @@ -0,0 +1,7 @@ +The CImg Library is an open-source C++ toolkit for image processing. + +It mainly consists in a (big) single header file CImg.h providing a set of +C++ classes and functions that can be used in your own sources, to load/save, +manage/process and display generic images. It's actually a very simple +toolkit for coding image processing stuffs in C++ : Just include the header +file CImg.h, and you are ready to handle images in your C++ programs. diff --git a/development/CImg/slack-desc b/development/CImg/slack-desc new file mode 100644 index 0000000000..688ceaaa66 --- /dev/null +++ b/development/CImg/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also customary +# to leave one space after the ':'. + + |----handy-ruler---------------------------------------------------------| +CImg: CImg (open-source C++ toolkit for image processing) +CImg: +CImg: It mainly consists in a (big) single header file CImg.h providing a set +CImg: of C++ classes and functions that can be used in your own sources, to +CImg: load/save, manage/process and display generic images. It's actually a +CImg: very simple and pleasant toolkit for coding image processing stuffs in +CImg: C++ : Just include the header file CImg.h, and you are ready to handle +CImg: images in your C++ programs. +CImg: +CImg: Homepage: http://cimg.sourceforge.net/ +CImg: |