Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272266
Collapse All | Expand All

(-)/usr/portage/sci-misc/ncview/ncview-1.93c.ebuild (-3 / +5 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93c.ebuild,v 1.4 2008/06/29 08:02:03 tove Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-misc/ncview/ncview-1.93c.ebuild,v 1.4 2008/06/29 08:02:03 tove Exp $
4
4
5
inherit multilib
5
inherit flag-o-matic multilib
6
6
7
DESCRIPTION="X-based viewer for netCDF files"
7
DESCRIPTION="X-based viewer for netCDF files"
8
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
8
SRC_URI="ftp://cirrus.ucsd.edu/pub/ncview/${P}.tar.gz"
Lines 19-32 Link Here
19
	udunits? ( sci-libs/udunits )"
19
	udunits? ( sci-libs/udunits )"
20
20
21
src_compile() {
21
src_compile() {
22
	# Makefile doesn't actually respect --with-ppm_incdir
23
	append-flags -I/usr/include/netpbm
22
	# force netpbm (could be a use flag, but worth it?)
24
	# force netpbm (could be a use flag, but worth it?)
23
	econf \
25
	econf \
24
		--x-libraries=/usr/$(get_libdir) \
26
		--x-libraries=/usr/$(get_libdir) \
25
		--x-include=/usr/include \
27
		--x-include=/usr/include \
26
		--with-libppm \
28
		--with-ppm_incdir=/usr/include/netpbm \
27
		$(use_with udunits) \
29
		$(use_with udunits) \
28
		|| die "econf failed"
30
		|| die "econf failed"
29
	emake || die "emake failed"
31
	emake NCVIEW_LIB_DIR="/usr/share/${PN}" || die "emake failed"
30
}
32
}
31
33
32
src_install() {
34
src_install() {

Return to bug 272266