/[gentoo-x86]/sci-libs/szip/szip-2.0.ebuild
Gentoo

Contents of /sci-libs/szip/szip-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Jan 21 10:06:14 2009 UTC (11 years ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fixed SRC_URI and re-fetch tar, thanks to Valeri Sokolov, closing bug #255692. Patch not needed anymore, and install one example. Removed older version, updated description in metadata.xml
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/szip/szip-2.0.ebuild,v 1.1 2007/08/18 10:59:39 bicatali Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Szip is an implementation of the extended-Rice lossless compression algorithm"
8 HOMEPAGE="http://hdf.ncsa.uiuc.edu/HDF5/doc_resource/SZIP/"
9 SRC_URI="ftp://ftp.hdfgroup.org/lib-external/${PN}/${PV}/src/${P}.tar.gz"
10 LICENSE="szip"
11
12 SLOT="0"
13 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
14
15 IUSE=""
16 DEPEND=""
17
18 src_unpack() {
19 unpack ${A}
20 # fix example with adding -lm
21 cd "${S}"
22 epatch "${FILESDIR}"/szip-2.0-example.patch
23 }
24
25 src_compile() {
26 econf || die "econf failed"
27 emake CFLAGS="${CFLAGS}" || die "emake failed"
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install || die "emake install failed"
32 dodoc RELEASE.txt
33 }

  ViewVC Help
Powered by ViewVC 1.1.20