summaryrefslogtreecommitdiff
blob: afafd5fecdc37d7a3d499aa9ef9bebce364514c0 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit flag-o-matic multilib autotools

DESCRIPTION="Szip is an implementation of the extended-Rice lossless compression algorithm"
HOMEPAGE="http://hdf.ncsa.uiuc.edu/doc_resource/SZIP/"
SRC_URI="ftp://ftp.hdfgroup.org/lib-external/${PN}/${PV}/src/${P}.tar.gz"

LICENSE="szip"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {

	append-flags -DHAVE_UNISTD_H
	append-ldflags -lm
	eautoreconf
	econf --with-gnu-ld || die "econf failed"
	emake || die "emake failed"
}

#src_install() {
#	dodir /usr/include
#	dodir /usr/$(get_libdir)
#	make DESTDIR="" prefix=/usr install || die "make install failed"
#}