[gentoo-x86] / sys-block / iscsitarget / iscsitarget-0.4.15-r1.ebuild Project Root:

GentooDiff of /sys-block/iscsitarget/iscsitarget-0.4.15-r1.ebuild

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

version 1.2, Tue Nov 6 07:07:22 2007 UTC version 1.3, Fri Feb 22 03:38:50 2008 UTC
Line 1 
Line 1 
 # Copyright 1999-2007 Gentoo Foundation  # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2  # Distributed under the terms of the GNU General Public License v2
 # $Header$  # $Header$
   
Line 16 
Line 16 
 RDEPEND="dev-libs/openssl"  RDEPEND="dev-libs/openssl"
 DEPEND="${RDEPEND}  DEPEND="${RDEPEND}
                 virtual/linux-sources"                  virtual/linux-sources"
   
 MODULE_NAMES="iscsi_trgt(kernel/iscsi:${S}/kernel)"  MODULE_NAMES="iscsi_trgt(kernel/iscsi:${S}/kernel)"
 CONFIG_CHECK="CRYPTO_CRC32C"  CONFIG_CHECK="CRYPTO_CRC32C"
 ERROR_CFG="iscsitarget needs support for CRC32C in your kernel."  ERROR_CFG="iscsitarget needs support for CRC32C in your kernel."
   
 src_unpack() {  src_unpack() {
         unpack ${A}          unpack ${A}
         EPATCH_OPTS="-d ${S} -p0" \          cd "${S}"
         epatch ${FILESDIR}/${PN}-0.4.13-usrbuildfix.patch          epatch "${FILESDIR}"/${PN}-0.4.15-isns-set-scn-flag.patch #180619
         convert_to_m ${S}/Makefile          epatch "${FILESDIR}"/${PN}-0.4.15-build.patch
           epatch "${FILESDIR}"/${PN}-0.4.15-kmem.patch
           epatch "${FILESDIR}"/${PN}-0.4.15-scatter.patch
           convert_to_m "${S}"/Makefile
 }  }
   
 src_compile() {  src_compile() {
         einfo "Building userspace"          emake usr || die "failed to build userspace"
         CFLAGS="" emake usr OPTFLAGS="${CFLAGS}" || die "failed to build userspace"  
   
         einfo "Building kernel modules"  
         unset ARCH          unset ARCH
         emake KSRC="${KERNEL_DIR}" kernel || die "failed to build module"          emake KSRC="${KERNEL_DIR}" kernel || die "failed to build module"
 }  }

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

www@gentoo.org

Powered by ViewCVS 1.0_pre20050929

ViewCVS and CVS Help