diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/geeqie/geeqie-1.1-paths.patch.xz | bin | 0 -> 496 bytes | |||
-rwxr-xr-x | graphics/geeqie/geeqie.build | 59 | ||||
-rwxr-xr-x | graphics/gifsicle/gifsicle.SlackBuild | 83 | ||||
-rw-r--r-- | graphics/gimp/gimp-2.8.4-paths.patch.xz | bin | 0 -> 544 bytes | |||
-rwxr-xr-x | graphics/gimp/gimp.build | 80 | ||||
-rw-r--r-- | graphics/graphicsmagick/GraphicsMagick-1.3.18-paths.patch.xz | bin | 0 -> 1076 bytes | |||
-rwxr-xr-x | graphics/graphicsmagick/graphicsmagick.build | 89 | ||||
-rwxr-xr-x | graphics/tesseract/tesseract.build | 62 | ||||
-rw-r--r-- | graphics/unpaper/unpaper-1_1-makefile.patch.xz | bin | 0 -> 412 bytes | |||
-rwxr-xr-x | graphics/unpaper/unpaper.build | 49 | ||||
-rw-r--r-- | graphics/viewnior/viewnior-1.3-appdata.patch.xz | bin | 0 -> 728 bytes | |||
-rw-r--r-- | graphics/viewnior/viewnior-1.3-desktopfile.patch.xz | bin | 0 -> 528 bytes | |||
-rw-r--r-- | graphics/viewnior/viewnior-1.3-makefiles.patch.xz | bin | 0 -> 432 bytes | |||
-rwxr-xr-x | graphics/viewnior/viewnior.build | 62 | ||||
-rwxr-xr-x | graphics/xfce_screenshooter/xfce_screenshooter.build | 67 |
15 files changed, 551 insertions, 0 deletions
diff --git a/graphics/geeqie/geeqie-1.1-paths.patch.xz b/graphics/geeqie/geeqie-1.1-paths.patch.xz Binary files differnew file mode 100644 index 0000000..4860b8b --- /dev/null +++ b/graphics/geeqie/geeqie-1.1-paths.patch.xz diff --git a/graphics/geeqie/geeqie.build b/graphics/geeqie/geeqie.build new file mode 100755 index 0000000..50902c4 --- /dev/null +++ b/graphics/geeqie/geeqie.build @@ -0,0 +1,59 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=geeqie +VERSION=1.1 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.14-1' 'liblcms >= 2.4-1' 'exiv2 >= 0.23-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: geeqie (image viewer) +${NAME}: +${NAME}: An image viewer with support for image metadata. +${NAME}: +${NAME}: Homepage: http://geeqie.sourceforge.net +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${SRCNAME[0]}/${SRCNAME[0]}/${SRCNAME[0]}-${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL2" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}/exec" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +rm -rf ${PKG}${SYS_DIR[share]}/doc +} diff --git a/graphics/gifsicle/gifsicle.SlackBuild b/graphics/gifsicle/gifsicle.SlackBuild new file mode 100755 index 0000000..3d3bb83 --- /dev/null +++ b/graphics/gifsicle/gifsicle.SlackBuild @@ -0,0 +1,83 @@ +#!/bin/sh + +CWD=`pwd` +NAME=gifsicle +VERSION=1.44 +ARCH=i586 +BUILD=1 +PKGNAME=$NAME +PKGVER=$VERSION +BASEDIR=$PKGNAME-$PKGVER +ARCHIVE=$BASEDIR.tar.gz +REPOSITORY=http://www.lcdf.org/~eddietwo/gifsicle +FLAGS="-O2 -march=pentium -mcpu=pentium -fno-strength-reduce \ + -fomit-frame-pointer -ffast-math" +PKG=/tmp/package-$NAME + +rm -rf $PKG +mkdir -p $PKG + +# Obtain sources +if [ ! -e $ARCHIVE ]; then + if `wget "$REPOSITORY/$ARCHIVE"`; then + true + else + exit 1 + fi +fi + +# Compile +cd /tmp +tar zxvf $CWD/$ARCHIVE +cd $BASEDIR +CFLAGS=$FLAGS CXXFLAGS=$FLAGS ./configure --prefix=/usr +make + +# Install +make install DESTDIR=$PKG +mkdir -p $PKG/install $PKG/usr/doc/$NAME-$VERSION $PKG/usr/X11R6/bin $PKG/usr/X11R6/man/man1 +cat > $PKG/install/slack-desc <<EOF +# 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------------------------------------------------------| +ungifsicle: gifsicle +ungifsicle: +ungifsicle: Gifsicle manipulates GIF image files on the command line. It +ungifsicle: supports merging several GIFs into a GIF animation, exploding an +ungifsicle: animation into its component frames, turning interlacing on or off, +ungifsicle: adding transparency, adding comments and much more. Included are +ungifsicle: also 'gifview' an X program for viewing GIFs and 'gifdiff' which +ungifsicle: compares two GIFs for identical visual appearance. +ungifsicle: +ungifsicle: +ungifsicle: +EOF + +install -m644 -g0 -o0 NEWS README $PKG/usr/doc/$NAME-$VERSION + +gzip -9nf \ + $PKG/usr/doc/$NAME-$VERSION/NEWS + +mv $PKG/usr/bin/gifview $PKG/usr/X11R6/bin +mv $PKG/usr/man/man1/gifview.1 $PKG/usr/X11R6/man/man1/gifview.1x + +chmod 444 $PKG/usr/man/man?/*.? +gzip -9nf $PKG/usr/man/man?/*.? +chmod 444 $PKG/usr/X11R6/man/man?/*.?x +gzip -9nf $PKG/usr/X11R6/man/man?/*.?x + +strip $PKG/usr/bin/* || : +strip $PKG/usr/X11R6/bin/* || : + +chown -R root.root $PKG +chgrp bin $PKG/usr/bin $PKG/usr/X11R6/bin $PKG/usr/bin/* $PKG/usr/X11R6/bin/* + +# Make package +cd $PKG +cat install/slack-desc | grep "$NAME:" > /tmp/$NAME-$VERSION-$ARCH-$BUILD.txt +makepkg -l y -c n /tmp/$NAME-$VERSION-$ARCH-$BUILD.tgz diff --git a/graphics/gimp/gimp-2.8.4-paths.patch.xz b/graphics/gimp/gimp-2.8.4-paths.patch.xz Binary files differnew file mode 100644 index 0000000..483422e --- /dev/null +++ b/graphics/gimp/gimp-2.8.4-paths.patch.xz diff --git a/graphics/gimp/gimp.build b/graphics/gimp/gimp.build new file mode 100755 index 0000000..3530e11 --- /dev/null +++ b/graphics/gimp/gimp.build @@ -0,0 +1,80 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=gimp +MAJOR=2.8 +VERSION=${MAJOR}.4 +BUILD=1 +DEPENDS=('gtk+ >= 2.24.14-1' 'gegl >= 0.2.0-1' 'compat_lcms >= 1.19-1') +OPTDEPENDS=('libwmf >= 0.2.8.4-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: gimp (The GNU Image Manipulation Program) +${NAME}: +${NAME}: The GIMP is a powerful tool for the preparation and manipulation of +${NAME}: digital images. The GIMP provides the user with a wide variety of +${NAME}: image manipulation, painting, processing, and rendering tools. The +${NAME}: GIMP's open design and extensible architecture make for a very +${NAME}: powerful end product for photo and image retouching, web graphics +${NAME}: design, or digital illustration. +${NAME}: +${NAME}: Homepage: http://www.gimp.org +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=ftp://ftp.gimp.org/pub/${SRCNAME[0]}/v${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL3 LGPL3" + +build0() +{ +CPPFLAGS="-I/usr/include/lcms-1.0" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --with-html-dir="${SYS_DIR[html]}" \ + --with-sendmail=/usr/bin/sendmail \ + --without-print \ + --disable-python \ + --enable-mp \ + --enable-gimp-console +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +#FIXME: enable printing +( + cd ${PKG}${SYS_DIR[man]}/man1 + echo ".so man1/gimptool-2.0.1" > gimptool.1 + echo ".so man1/gimpremote-2.6.1" > gimp-remote.1 + echo ".so man1/gimp-2.6.1" > gimp.1 + cd ${PKG}${SYS_DIR[man]}/man5 + echo ".so man5/gimprc-2.6.5" > gimprc.5 +) +rm -rf ${PKG}${SYS_DIR[html]} +} diff --git a/graphics/graphicsmagick/GraphicsMagick-1.3.18-paths.patch.xz b/graphics/graphicsmagick/GraphicsMagick-1.3.18-paths.patch.xz Binary files differnew file mode 100644 index 0000000..ff369da --- /dev/null +++ b/graphics/graphicsmagick/GraphicsMagick-1.3.18-paths.patch.xz diff --git a/graphics/graphicsmagick/graphicsmagick.build b/graphics/graphicsmagick/graphicsmagick.build new file mode 100755 index 0000000..2758978 --- /dev/null +++ b/graphics/graphicsmagick/graphicsmagick.build @@ -0,0 +1,89 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=graphicsmagick +VERSION=1.3.18 +BUILD=1 +DEPENDS=('freetype >= 2.4.12-1' 'liblcms >= 2.4-1' 'xorg_libs >= 7.7-1' 'bzip2 >= 1.0.6-1') +OPTDEPENDS=('libwmf >= 0.2.8.4-1') +OPTIONS="normla" + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: graphicsmagick (image manipulation command-line utilities) +${NAME}: +${NAME}: GraphicsMagick is the swiss army knife of image processing. It is a +${NAME}: collection of tools and libraries which support reading, writing and +${NAME}: manipulating an image in over 88 major formats including important +${NAME}: formats like GIF, JPEG, JPEG-2000, PNG, PDF, PNM and TIFF. +${NAME}: +${NAME}: Homepage: http://www.graphicsmagick.org +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=GraphicsMagick +SRCVERS[0]=${VERSION} +SRCPACK[0]=${URL[sf]}/${NAME}/${NAME}/${SRCVERS[0]}/${SRCNAME[0]}-${SRCVERS[0]}.tar.xz + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.{in,am} +CPPFLAGS="-I${SYS_DIR[include]}/lcms-2.0" \ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" \ + --datadir="${SYS_DIR[share]}/application-data" \ + --without-lcms \ + --with-gs-font-dir="${SYS_DIR[share]}/fonts/Type1" \ + --with-gslib=yes \ + --with-lcms2=yes \ + --with-modules \ + --with-frozenpaths \ + --enable-magick-compat +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +#FIXME: perl subpackage +changelog NEWS.txt +install.dir ${PKG}${SYS_DIR[html]} +mv \ + ${PKG}${SYS_DIR[share]}/doc/GraphicsMagick/www \ + ${PKG}${SYS_DIR[html]}/${NAME} +( + COMMANDS="animate compare composite conjure convert display identify import mogrify montage" + cd ${PKG}${SYS_DIR[man]}/man1 + for command in ${COMMANDS}; do + echo ".so man1/gm.1" > "${command}.1" + done +) +rm -rf \ + ${PKG}${SYS_DIR[share]}/doc \ + ${PKG}${SYS_DIR[share]}/application-data/*/config/type-{solaris,windows}.mgk \ + ${PKG}${SYS_DIR[man]}/man1/*-config.1 \ + ${PKG}${SYS_DIR[bin]}/*-config \ + ${PKG}${SYS_DIR[lib]}/*.la +} diff --git a/graphics/tesseract/tesseract.build b/graphics/tesseract/tesseract.build new file mode 100755 index 0000000..f2752f3 --- /dev/null +++ b/graphics/tesseract/tesseract.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=tesseract +VERSION=3.02.02 +BUILD=2 +DEPENDS=('leptonica >= 1.69-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: tesseract +${NAME}: +${NAME}: An optical character recognition (OCR) engine. +${NAME}: +${NAME}: Homepage: http://code.google.com/p/tesseract-ocr +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME}-ocr +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://tesseract-ocr.googlecode.com/files/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCROOT[0]=${SRCNAME[0]} +SRCCOPY[0]="APACHE2" + +build0() +{ +sed -i 's|$(libdir)/pkgconfig|$(datarootdir)/pkgconfig|g' Makefile.in +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog ChangeLog +} diff --git a/graphics/unpaper/unpaper-1_1-makefile.patch.xz b/graphics/unpaper/unpaper-1_1-makefile.patch.xz Binary files differnew file mode 100644 index 0000000..2b62db4 --- /dev/null +++ b/graphics/unpaper/unpaper-1_1-makefile.patch.xz diff --git a/graphics/unpaper/unpaper.build b/graphics/unpaper/unpaper.build new file mode 100755 index 0000000..8c2f20d --- /dev/null +++ b/graphics/unpaper/unpaper.build @@ -0,0 +1,49 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=unpaper +VERSION=1.1 +BUILD=1 + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: unpaper +${NAME}: +${NAME}: A post-processing tool for scanned sheets of paper, especially for +${NAME}: book pages that have been scanned from previously created +${NAME}: photocopies. The main purpose is to make scanned book pages better +${NAME}: readable on screen after conversion to PDF. Additionally, unpaper +${NAME}: might be useful to enhance the quality of scanned pages before +${NAME}: performing optical character recognition (OCR). +${NAME}: +${NAME}: Homepage: http://unpaper.berlios.de +${NAME}: +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION//./_} +SRCPACK[0]=${URL[sf]}/unpaper.berlios/${SRCNAME[0]}-${SRCVERS[0]}.tgz +SRCCOPY[0]="GPL2" +SRCOPTS[0]="nosrcroot" + +build0() +{ +make clean +make ${JOBS} CFLAGS="${FLAGS}" +make install DESTDIR="${PKG}" +doc readme.txt +} diff --git a/graphics/viewnior/viewnior-1.3-appdata.patch.xz b/graphics/viewnior/viewnior-1.3-appdata.patch.xz Binary files differnew file mode 100644 index 0000000..b71b620 --- /dev/null +++ b/graphics/viewnior/viewnior-1.3-appdata.patch.xz diff --git a/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz b/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz Binary files differnew file mode 100644 index 0000000..e8ee2bb --- /dev/null +++ b/graphics/viewnior/viewnior-1.3-desktopfile.patch.xz diff --git a/graphics/viewnior/viewnior-1.3-makefiles.patch.xz b/graphics/viewnior/viewnior-1.3-makefiles.patch.xz Binary files differnew file mode 100644 index 0000000..084fe51 --- /dev/null +++ b/graphics/viewnior/viewnior-1.3-makefiles.patch.xz diff --git a/graphics/viewnior/viewnior.build b/graphics/viewnior/viewnior.build new file mode 100755 index 0000000..3fd2c23 --- /dev/null +++ b/graphics/viewnior/viewnior.build @@ -0,0 +1,62 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=viewnior +VERSION=1.3 +BUILD=2 +DEPENDS=('gtk+ >= 2.24.14-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: viewnior (image viewer) +${NAME}: +${NAME}: A simple, fast and elegant image viewer. It's minimalistic interface +${NAME}: allows more screenspace for your images. Features include: +${NAME}: +${NAME}: * Fullscreen & slideshow +${NAME}: * Rotate, flip, save and delete images +${NAME}: * Animation support +${NAME}: * Browse only selected images +${NAME}: +${NAME}: Homepage: http://xsisqox.github.com/Viewnior +EOF + +# Sources + +SRCNAME[0]=${NAME} +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://cloud.github.com/downloads/xsisqox/Viewnior/${SRCNAME[0]}-${SRCVERS[0]}.tar.gz +SRCCOPY[0]="GPL3" + +build0() +{ +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=no \ + --enable-shave=no \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +} diff --git a/graphics/xfce_screenshooter/xfce_screenshooter.build b/graphics/xfce_screenshooter/xfce_screenshooter.build new file mode 100755 index 0000000..cb5049e --- /dev/null +++ b/graphics/xfce_screenshooter/xfce_screenshooter.build @@ -0,0 +1,67 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd> + +source /usr/src/ports/Build/build.sh + +NAME=xfce_screenshooter +MAJOR=1.8 +VERSION=${MAJOR}.1 +BUILD=2 +DEPENDS=('xfce >= 4.10.1-1') + +# Description + +cat > ${PKG}/install/slack-desc <<EOF +# 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 ':'. + +$(padd)|-----handy-ruler------------------------------------------------------| +${NAME}: xfce_screenshooter +${NAME}: +${NAME}: A utility to make screenshots. +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +${NAME}: +EOF + +# Sources + +SRCNAME[0]=xfce4-screenshooter +SRCVERS[0]=${VERSION} +SRCPACK[0]=http://archive.xfce.org/src/apps/${SRCNAME[0]}/${MAJOR}/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2 +SRCCOPY[0]="GPL2" + +build0() +{ +sed -i 's|$(libdir)/xfce4/panel/plugins|$(libdir)/plugins/xfce4/panel|g' Makefile.{in,am} +CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \ +./configure \ + --build="${ARCH}-slackware-linux" \ + --disable-dependency-tracking \ + --disable-silent-rules \ + --enable-static=no \ + --enable-shared=yes \ + --enable-debug=minimum \ + --prefix="${SYS_DIR[usr]}" \ + --mandir="${SYS_DIR[man]}" \ + --sysconfdir="${SYS_DIR[etc]}" \ + --libdir="${SYS_DIR[lib]}" \ + --localstatedir="${SYS_DIR[var]}" +make ${JOBS} V=1 +make install DESTDIR="${PKG}" +doc AUTHORS +changelog NEWS +rm -rf \ + ${PKG}${SYS_DIR[share]}/xfce4/doc \ + ${PKG}${SYS_DIR[doc]}/xfce4-screenshooter +} |