summaryrefslogtreecommitdiff
blob: b7b1cd5d753d765ceb776433a44d377996ab4e4e (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/xpm/xpm-3.4k-r1.ebuild,v 1.7 2002/12/09 04:26:14 manson Exp $

S=${WORKDIR}/${P}
DESCRIPTION="XPM image library"
SRC_URI="ftp://ftp.x.org/contrib/libraries/xpm-3.4k.tar.gz"
HOMEPAGE="http://koala.ilog.fr/lehors/xpm.html"

SLOT="0"
LICENSE="as-is"
KEYWORDS="x86 ppc sparc "

DEPEND="virtual/x11"

src_compile() {
	
	xmkmf -a
	emake CDEBUGFLAGS="${CFLAGS} -fno-strength-reduce" || die
}

src_install() {

	make DESTDIR=${D} install
	make install.sdk

	newman cxpm/cxpm.man cxpm.1
	newman sxpm/sxpm.man sxpm.1
	dohtml -r ./
	dodoc CHANGES COPYRIGHT FILES README.{AMIGA,MSW}
}