summaryrefslogtreecommitdiff
blob: 33186c867b6702f721cec0d2e53ebfba90a32f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2004 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.9.ebuild,v 1.17 2004/11/08 12:39:10 hardave Exp $

MY_PN=libfpx

### uncomment the right variables depending on if we have a patchlevel or not
#MY_P=${MY_PN}-${PV%.*}-${PV#*.*.*.}
#MY_P2=${MY_PN}-${PV%.*}
MY_P=${MY_PN}-${PV}
MY_P2=${MY_PN}-${PV}

S=${WORKDIR}/${MY_P2}
DESCRIPTION="A library for manipulating FlashPIX images"
SRC_URI="ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/${MY_P}.tar.bz2"
HOMEPAGE=""

LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 hppa ia64 ppc x86 sparc mips ppc64"
IUSE=""

src_compile() {
	econf \
		--prefix=/usr \
		 || die

	emake || die "compile problem"
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc doc/*
}