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

Contents of /sci-libs/szip/szip-1.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Jul 9 15:37:54 2010 UTC (9 years, 6 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove old
(Portage version: 2.1.8.3/cvs/Linux x86_64)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/szip/szip-1.1-r1.ebuild,v 1.7 2006/10/27 18:18:25 gustavoz Exp $
4
5 inherit eutils
6
7 MY_P="${P/-}"
8
9 DESCRIPTION="Szip is an implementation of the extended-Rice lossless compression algorithm"
10 HOMEPAGE="http://hdf.ncsa.uiuc.edu/HDF5/doc_resource/SZIP/"
11 SRC_URI="ftp://ftp.ncsa.uiuc.edu/HDF/szip/src/${MY_P}.tar.gz"
12 LICENSE="szip"
13
14 SLOT="0"
15 KEYWORDS="amd64 ppc ppc64 sparc x86"
16
17 IUSE=""
18
19 DEPEND=""
20
21 S=${WORKDIR}/${MY_P}
22
23 src_unpack() {
24 unpack ${A} ; cd ${S}
25
26 epatch ${FILESDIR}/${P}-fPIC.patch
27 }
28
29 src_compile() {
30 ./configure -s --prefix="/usr" || die
31 emake CFLAGS="${CFLAGS} -DHAVE_UNISTD_H -DUSE_MMAP" || die
32 }
33
34 src_install() {
35 dodir /usr/include
36 dodir /usr/lib
37 make prefix=${D}/usr install || die
38 }

  ViewVC Help
Powered by ViewVC 1.1.20