Line 3
Link Here
|
3 |
# $Header: /home/cvsroot/gentoo-x86/dev-libs/hdf/hdf-4.2.0-r1.ebuild,v 1.1 2004/02/11 11:06:16 phosphan Exp $ |
3 |
# $Header: $ |
4 |
-- |
|
|
Line 19
Link Here
|
19 |
IUSE="" |
19 |
IUSE="noszip" |
20 |
-- |
|
|
Lines 21-24
Link Here
|
21 |
DEPEND="sys-libs/zlib |
21 |
DEPEND=">=sys-libs/zlib-1.1.4-r2 |
22 |
media-libs/jpeg |
22 |
>=media-libs/jpeg-6b-r3 |
23 |
dev-libs/szip |
23 |
!noszip? ( >=dev-libs/szip-1.1 ) |
24 |
app-sci/netcdf |
24 |
>=app-sci/netcdf-3.5.0-r3 |
25 |
-- |
|
|
Line 28
Link Here
|
28 |
local myconf="--enable-production --with-szlib=/usr" |
28 |
local myconf="--enable-production --program-transform-name=s,nc,hdf4-nc," |
29 |
-- |
29 |
use noszip && myconf="${myconf} --with-szlib=/usr" |
Lines 36-43
Link Here
|
36 |
cd ${D} |
|
|
37 |
if has_version app-sci/netcdf; then |
38 |
einfo app-sci/netcdf is already installed - not installing netcdf related files |
39 |
rm -v usr/bin/nc* |
40 |
rm -v usr/share/man/man1/nc* |
41 |
rm -v usr/include/netcdf.inc |
42 |
rm -v usr/include/netcdf.h |
43 |
fi |