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