You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/Panotools-Script/Panotools-Script-0.260.0.eb...

42 lines
1.1 KiB

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Panotools-Script/Panotools-Script-0.260.0.ebuild,v 1.1 2011/06/14 11:10:23 tove Exp $
EAPI=4
MODULE_AUTHOR=BPOSTLE
MODULE_VERSION=0.26
inherit perl-module
DESCRIPTION="A perl module for reading, writing, and manipulating hugin script files"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gui"
RDEPEND="dev-perl/URI
dev-perl/libwww-perl
>=dev-perl/ImageSize-2.9
>=media-libs/exiftool-6
gui? ( gnome-extra/zenity )"
DEPEND=""
SRC_TEST="do"
src_install() {
perl-module_src_install
if use gui ; then
insinto /usr/share/applications
doins "${S}"/desktop/*.desktop || die
else
rm "${D}"/usr/bin/*-gui || die
fi
}
pkg_postinst() {
einfo "Some of the scripts require 'nona', 'freepv', 'enblend', 'autotrace', and"
einfo "ImageMagick command-line tools which are available in the following"
einfo "packages: media-gfx/hugin, media-gfx/freepv, media-gfx/enblend,"
einfo "media-gfx/autotrace, and media-gfx/imagemagick."
}