# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/libfpx/libfpx-1.2.0.12.ebuild,v 1.1 2005/08/05 01:24:54 vapier Exp $ inherit eutils ### uncomment the right variables depending on if we have a patchlevel or not #MY_P=${PN}-${PV%.*}-${PV#*.*.*.} #MY_P2=${PN}-${PV%.*} MY_P=${PN}-${PV} MY_P2=${PN}-${PV} DESCRIPTION="A library for manipulating FlashPIX images" HOMEPAGE="http://www.i3a.org/" SRC_URI="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/${MY_P}.tar.bz2" LICENSE="as-is" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="" S=${WORKDIR}/${MY_P2} src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-makefile.patch } src_install() { make DESTDIR="${D}" install || die dodoc doc/* }