# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A simple thumbnail generator" HOMEPAGE="http://wwwai.wu-wien.ac.at/~hahsler/pix2tn/" SRC_URI="http://wwwai.wu-wien.ac.at/~hahsler/pix2tn/pix2tn" LICENSE="GPL-1" SLOT="0" # Package is a Perl script, but it requires ImageMagick which is # available for these architectures: KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~amd64 ~mips" IUSE="" DEPEND="" RDEPEND=">=dev-lang/perl-5 >=media-gfx/imagemagick-4.2.9" S=${WORKDIR} src_unpack() { cp ${DISTDIR}/${A} ${S} cd ${S} # Make some basic documentation so the user doesn't have to go to # the homepage (where this is snipped from). echo "Go to the directory with your images (jpgs, gifs)." >README echo "Start \"pix2tn\", and the script will produce a HTML-index" >>README echo "(index.html with thumbnails, names, size and date)" >>README echo "in your image directory." >>README echo "All thumbnails are stored in a sub-directory called tn." >>README } src_install() { dobin pix2tn dodoc README }