summaryrefslogtreecommitdiff
blob: c43d072bd16e9f7552ee01613d37a584a8a42972 (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.6 2002/11/27 20:43:55 seemant 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 sparc64"

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}
}