Mars portage # cd /usr/local/portage/ Mars portage # cd test-apps/ Mars test-apps # mkdir s2ram Mars test-apps # cd s2ram/ Mars s2ram # dir Mars s2ram # nano s2ram-9999.ebuild Mars s2ram # ebuild s2ram-9999.ebuild digest >>> Creating Manifest for /usr/local/portage/test-apps/s2ram Mars s2ram # emerge -v1 test-apps/s2ram Calculating dependencies ... done! >>> Emerging (1 of 1) test-apps/s2ram-9999 to / * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * PKG_SETUP: ECVS_TOP_DIR == /usr/portage/distfiles/cvs-src >>> Unpacking source... * Fetching CVS module suspend into /usr/portage/distfiles/cvs-src ... * Running cvs -q -f -z3 -d ":pserver:anonymous:@suspend.cvs.sourceforge.net:/cvsroot/suspend" login Logging in to :pserver:anonymous@suspend.cvs.sourceforge.net:2401/cvsroot/suspend * Running cvs -q -f -z3 -d ":pserver:anonymous@suspend.cvs.sourceforge.net:/cvsroot/suspend" checkout -rHEAD suspend U suspend/HOWTO U suspend/LICENSE U suspend/Makefile U suspend/README U suspend/README.s2ram-whitelist U suspend/TODO U suspend/bootsplash.c U suspend/bootsplash.h U suspend/config.c U suspend/config.h U suspend/dmidecode.c U suspend/encrypt.c U suspend/encrypt.h U suspend/keygen.c U suspend/md5.c U suspend/md5.h U suspend/radeontool.c U suspend/resume.c U suspend/s2ram.c U suspend/s2ram.h U suspend/splash.c U suspend/splash.h U suspend/splashy_funcs.c U suspend/splashy_funcs.h U suspend/suspend.c U suspend/swsusp.h U suspend/vt.c U suspend/vt.h U suspend/whitelist.c U suspend/conf/suspend.conf U suspend/doc/installation-on-SUSE-10.1.txt U suspend/scripts/create-resume-initrd.sh U suspend/scripts/install-resume.sh U suspend/scripts/suse-10.1/do_acpi_sleep.patch U suspend/scripts/suse-10.1/mkinitrd.patch U suspend/scripts/suse-10.1/modify-system-files.sh U suspend/vbetool/COPYING U suspend/vbetool/LRMI U suspend/vbetool/Makefile.am U suspend/vbetool/configure.in U suspend/vbetool/lrmi.c U suspend/vbetool/thunk.c U suspend/vbetool/vbetool.1 U suspend/vbetool/vbetool.c U suspend/vbetool/vbetool.h U suspend/vbetool/x86-common.c U suspend/vbetool/x86-common.h U suspend/vbetool/include/fpu_regs.h U suspend/vbetool/include/lrmi.h U suspend/vbetool/include/regs.h U suspend/vbetool/include/types.h U suspend/vbetool/include/x86emu.h U suspend/vbetool/include/xf86int10.h U suspend/vbetool/include/xf86x86emu.h U suspend/vbetool/x86emu/LICENSE U suspend/vbetool/x86emu/debug.c U suspend/vbetool/x86emu/decode.c U suspend/vbetool/x86emu/fpu.c U suspend/vbetool/x86emu/makefile.linux U suspend/vbetool/x86emu/ops.c U suspend/vbetool/x86emu/ops2.c U suspend/vbetool/x86emu/prim_ops.c U suspend/vbetool/x86emu/sys.c U suspend/vbetool/x86emu/validate.c U suspend/vbetool/x86emu/x86emu/debug.h U suspend/vbetool/x86emu/x86emu/decode.h U suspend/vbetool/x86emu/x86emu/fpu.h U suspend/vbetool/x86emu/x86emu/fpu_regs.h U suspend/vbetool/x86emu/x86emu/ops.h U suspend/vbetool/x86emu/x86emu/prim_asm.h U suspend/vbetool/x86emu/x86emu/prim_ops.h U suspend/vbetool/x86emu/x86emu/regs.h U suspend/vbetool/x86emu/x86emu/types.h U suspend/vbetool/x86emu/x86emu/x86emu.h U suspend/vbetool/x86emu/x86emu/x86emui.h * Copying suspend from /usr/portage/distfiles/cvs-src ... * CVS module suspend is now in /var/tmp/portage/s2ram-9999/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/s2ram-9999 ... cc -O2 -Wall -c vt.c -o vt.o cc -O2 -Wall -c vbetool/lrmi.c -o vbetool/lrmi.o cc -O2 -Wall -c vbetool/x86-common.c -o vbetool/x86-common.o cc -O2 -Wall -DS2RAM -c vbetool/vbetool.c -o vbetool/vbetool.o cc -O2 -Wall -DS2RAM -c radeontool.c -o radeontool.o cc -O2 -Wall -DS2RAM -c dmidecode.c -o dmidecode.o cc -O2 -Wall -g s2ram.c vt.o vbetool/lrmi.o vbetool/x86-common.o vbetool/vbetool.o radeontool.o dmidecode.o -lpci -o s2ram >>> Source compiled. >>> Test phase [not enabled]: test-apps/s2ram-9999 >>> Install s2ram-9999 into /var/tmp/portage/s2ram-9999/image/ category test-apps >>> Completed installing s2ram-9999 into /var/tmp/portage/s2ram-9999/image/ This bashrc does not know anything about /usr/lib/portage/bin/misc-functions.sh man: strip: i686-pc-linux-gnu-strip --strip-unneeded usr/sbin/s2ram * checking 1 files for package collisions * spent 0.000560998916626 seconds checking for file collisions >>> Merging test-apps/s2ram-9999 to / This bashrc does not know anything about /usr/lib/portage/bin/misc-functions.sh * Removing /usr/share/info * Removing /usr/share/doc --- /usr/ --- /usr/sbin/ >>> /usr/sbin/s2ram >>> Regenerating /etc/ld.so.cache...