/[gentoo-x86]/sys-libs/zlib/zlib-1.2.7.ebuild
Gentoo

Diff of /sys-libs/zlib/zlib-1.2.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.7.ebuild,v 1.3 2012/08/18 04:05:39 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.7.ebuild,v 1.4 2012/08/18 23:27:03 vapier Exp $
4 4
5AUTOTOOLS_AUTO_DEPEND="no" 5AUTOTOOLS_AUTO_DEPEND="no"
6inherit autotools toolchain-funcs 6inherit autotools toolchain-funcs
7 7
8DESCRIPTION="Standard (de)compression library" 8DESCRIPTION="Standard (de)compression library"
42 -e 's|@includedir@|${prefix}/include|g' \ 42 -e 's|@includedir@|${prefix}/include|g' \
43 -e 's|@VERSION@|'${PV}'|g' \ 43 -e 's|@VERSION@|'${PV}'|g' \
44 zlib.pc.in > zlib.pc || die 44 zlib.pc.in > zlib.pc || die
45 ;; 45 ;;
46 *) # not an autoconf script, so can't use econf 46 *) # not an autoconf script, so can't use econf
47 echoit ./configure --shared --prefix=/usr --libdir=/usr/$(get_libdir) || die 47 local uname=$(/usr/share/gnuconfig/config.sub "${CHOST}" | cut -d- -f3) #347167
48 echoit ./configure \
49 --shared \
50 --prefix=/usr \
51 --libdir=/usr/$(get_libdir) \
52 ${uname:+--uname=${uname}} \
53 || die
48 emake || die 54 emake || die
49 ;; 55 ;;
50 esac 56 esac
51 if use minizip ; then 57 if use minizip ; then
52 cd contrib/minizip 58 cd contrib/minizip

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20