diff options
Diffstat (limited to 'sci-libs/szip/szip-1.1-r1.ebuild')
-rw-r--r-- | sci-libs/szip/szip-1.1-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/szip/szip-1.1-r1.ebuild b/sci-libs/szip/szip-1.1-r1.ebuild new file mode 100644 index 000000000000..4d105f0d8eb1 --- /dev/null +++ b/sci-libs/szip/szip-1.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/szip/szip-1.1-r1.ebuild,v 1.1 2004/12/29 00:12:04 ribosome Exp $ + +inherit eutils + +MY_P="${P/-}" + +DESCRIPTION="Szip is an implementation of the extended-Rice lossless compression algorithm" +HOMEPAGE="http://hdf.ncsa.uiuc.edu/HDF5/doc_resource/SZIP/" +SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/szip/src/${MY_P}.tar.gz" +LICENSE="szip" + +SLOT="0" +KEYWORDS="x86 amd64 ppc" + +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} ; cd ${S} + + epatch ${FILESDIR}/${P}-fPIC.patch +} + +src_compile() { + ./configure -s --prefix="/usr" || die + emake CFLAGS="${CFLAGS} -DHAVE_UNISTD_H -DUSE_MMAP" || die +} + +src_install() { + dodir /usr/include + dodir /usr/lib + make prefix=${D}/usr install || die +} |