development/CImg: Added to 12.2 repository
This commit is contained in:
parent
eac0622be2
commit
dcfb65c95d
|
@ -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
|
|
@ -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"
|
|
@ -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.
|
|
@ -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:
|
Loading…
Reference in New Issue