* "Patrick Lauer (patrick)" <patr...@gentoo.org>:
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild?rev=1.1&content-type=text/plain
> 
> Index: memdump-1.0.1.ebuild
> ===================================================================
> # Copyright 1999-2009 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License v2
> # $Header: 
> /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.1 
> 2009/01/04 23:45:43 patrick Exp $
> 
> DESCRIPTION="Simple memory dumper for UNIX-Like systems"
> HOMEPAGE="http://www.porcupine.org/forensics";
> SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz";
                                                    ~~~~
> LICENSE="IBM"
> SLOT="0"
> KEYWORDS="~amd64 ~ppc ~x86"
> DEPEND="sys-apps/sed
>       sys-apps/grep"
> RDEPEND="virtual/libc"
  ^^^^^^^^^^^^^^^^^^^^^^

> IUSE=""
> 
> 
> S=${WORKDIR}/${PN}-1.01
                     ~~~~
> src_compile() {
>       cd ${S}/memdump-1.01
          "    "        ~~~~
>       emake XFLAGS="${CFLAGS}" OPT= DEBUG= || die
> }
> 
> src_test() {
>       if has userpriv ${FEATURES};
                        ~~~~~~~~~~~
                not in pms afair
>       then
>               einfo "Cannot test with FEATURES=userpriv"
>       elif [ -x /bin/wc ];
>       then
>               einfo "testing"
>               if [ "`./memdump -s 344 | wc -c`" = "344" ];
>               then
>                       einfo "passed test"
>               else
>                       die "failed test"
>               fi
>       fi
> }
> 
> src_install() {
>       dosbin memdump
                       || die
>       dodoc README LICENSE
>       doman memdump.1
> }

Reply via email to