summaryrefslogtreecommitdiff
blob: 8d599cf80880e33b33edf9173a95a6dc9457043b (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
35
36
37
38
39
40
41
42
43
#Copyright 2002 Gentoo Technologies, Inc.
#Distributed under the terms of the GNU General Public License, v2 or later
#Author John Stalker <stalker@math.princeton.edu>
#$Header: /var/cvsroot/gentoo-x86/media-gfx/xpaint/xpaint-2.6.2.ebuild,v 1.2 2002/03/18 08:13:18 gbevin Exp $

S=${WORKDIR}/xpaint
DESCRIPTION="XPaint is an image editor which supports most standard paint program options."
SRC_URI="http://home.worldonline.dk/~torsten/xpaint/${P}.tar.gz"
HOMEPAGE="http://home.worldonline.dk/~torsten/xpaint/"
SLOT="0"

DEPEND=">=media-libs/tiff-3.2 
	virtual/x11 
	>=media-libs/jpeg-6 
	>=media-libs/libpng-1.0.2"

src_unpack() {

	unpack ${P}.tar.gz
	cd ${S}
	patch -p0 < ${FILESDIR}/Local.config-2.6.2.diff

}

src_compile() {

	xmkmf || die
	make Makefiles || die
	emake || die

}

src_install () {

	make DESTDIR=${D} install || die
	make DESTDIR=${D} install.man || die
	dodoc ChangeLog INSTALL README README.PNG README.old TODO 

}