summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-29 00:12:04 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-29 00:12:04 +0000
commit8917205961e703d1e993b7c7ad7c57969f4196b8 (patch)
treed31a15e2e1ec727bd2b9a5a0a41d4d7fcce72eed /sci-libs/szip/szip-1.1.ebuild
parentMoved dev-libs/shapelib to sci-libs/shapelib (diff)
downloadgentoo-2-8917205961e703d1e993b7c7ad7c57969f4196b8.tar.gz
gentoo-2-8917205961e703d1e993b7c7ad7c57969f4196b8.tar.bz2
gentoo-2-8917205961e703d1e993b7c7ad7c57969f4196b8.zip
Moved from dev-libs/szip to sci-libs/szip.
Diffstat (limited to 'sci-libs/szip/szip-1.1.ebuild')
-rw-r--r--sci-libs/szip/szip-1.1.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/sci-libs/szip/szip-1.1.ebuild b/sci-libs/szip/szip-1.1.ebuild
new file mode 100644
index 000000000000..c2bede3c071f
--- /dev/null
+++ b/sci-libs/szip/szip-1.1.ebuild
@@ -0,0 +1,30 @@
+# 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.ebuild,v 1.1 2004/12/29 00:12:04 ribosome Exp $
+
+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_compile() {
+ ./configure --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
+}