--- dump-0.4.24.ebuild.orig Fri Nov 9 21:33:03 2001 +++ dump-0.4.24.ebuild Mon Apr 22 13:38:47 2002 @@ -18,33 +18,29 @@ sys-apps/star" src_compile() { - local myconf - if use readline; then - myconf=--enable-readline - ln -s /lib/libncurses.so libtermcap.so - export LDFLAGS="-L${S}" - export CFLAGS="$CFLAGS -L${S}" - fi + local rlconf + if use readline; then + rlconf=--enable-readline + ln -s /lib/libncurses.so libtermcap.so + export LDFLAGS="-L${S}" + export CFLAGS="$CFLAGS -L${S}" + fi + ./configure --prefix=/usr --with-dumpdatespath=/etc/dumpdates \ + --with-bingroup=root --enable-largefile ${rlconf} || die \ + "./configure failed " - ./configure --prefix=/usr --host=${CHOST} --enable-largefile ${myconf} - assert "./configure failed (myconf=$myconf)" - - emake - assert "emake failed (myconf=$myconf)" + emake || die "emake failed!" } - src_install () { - dodir /sbin - dodir /usr/share/man/man8 - dodir /etc/dumpdates - make BINDIR=${D}/sbin MANDIR=${D}/usr/share/man/man8 \ - DUMPDATESPATH=${D}/etc/dumpdates install || die "make install failed" - - dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS - dodoc README REPORTING-BUGS THANKS TODO - cd ${D}/sbin - rm -f rdump rrestore - ln -s dump rdump - ln -s restore rrestore + dosbin dump/dump restore/restore + doman restore/restore.8 dump/dump.8 + dodoc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README \ + REPORTING-BUGS THANKS TODO + dodir ${D}usr/share/doc/${PF}/examples/dump_on_cd + docinto examples/dump_on_cd + dodoc examples/dump_on_cd/README \ + examples/dump_on_cd/dump_userinfo.sh \ + examples/dump_on_cd/start_dump.sh \ + examples/dump_on_cd/verify_dump.sh }