[gentoo-x86] / app-arch / lzma-utils / lzma-utils-4.32.5.ebuild Project Root:

GentooDiff of /app-arch/lzma-utils/lzma-utils-4.32.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph

version 1.8, Thu Apr 3 18:19:14 2008 UTC version 1.9, Sat May 10 08:35:08 2008 UTC
Line 2 
Line 2 
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
 # $Header$  # $Header$
   
   # Remember: we cannot leverage autotools in this ebuild in order
   #           to avoid circular deps with autotools
   
   inherit eutils
   
   MY_P="lzma-${PV/_}"
 DESCRIPTION="LZMA interface made easy"  DESCRIPTION="LZMA interface made easy"
 HOMEPAGE="http://tukaani.org/lzma/"  HOMEPAGE="http://tukaani.org/lzma/"
 SRC_URI="http://tukaani.org/lzma/lzma-${PV/_}.tar.gz"  SRC_URI="http://tukaani.org/lzma/${MY_P}.tar.gz
           nocxx? ( mirror://gentoo/${P}-nocxx.patch.bz2 )"
   
 LICENSE="LGPL-2.1"  LICENSE="LGPL-2.1"
 SLOT="0"  SLOT="0"
 KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"  KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
 IUSE=""  IUSE="nocxx"
   
 RDEPEND="!app-arch/lzma"  RDEPEND="!app-arch/lzma"
   
 S=${WORKDIR}/lzma-${PV/_}  S=${WORKDIR}/${MY_P}
   
   src_unpack() {
           unpack ${A}
           cd "${S}"
           if use nocxx ; then
                   epatch "${WORKDIR}"/${P}-nocxx.patch
                   epunt_cxx
           fi
   }
   
 src_install() {  src_install() {
         emake install DESTDIR="${D}" || die          emake install DESTDIR="${D}" || die
         dodoc AUTHORS ChangeLog NEWS README THANKS          dodoc AUTHORS ChangeLog NEWS README THANKS
           use nocxx && newbin "${FILESDIR}"/lzma-nocxx.sh lzma
   }
   
   pkg_postinst() {
           if use nocxx ; then
                   ewarn "You have a neutered lzma package install due to USE=nocxx."
                   ewarn "You will only be able to unpack lzma archives."
           fi
 }  }

Generate output suitable for use with a patch program
Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help