# $Id$ PNAME="rcs" PVER="5.7" PBUILD="r3" PCATEGORIE="app-text" STATE="unstable" DESCRIPTION="The Revision Control System (RCS) manages multiple revisions of files." HOMEPAGE="http://www.gnu.org/software/rcs/" DEPEND=">= sys-apps/diffutils-2.8.7" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" SRC_URI=( gnu://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-debian-25.patch ) UP2DATE="updatecmd_gnu ${PNAME} gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # several fixes from debian mpatch ${PNAME}-${PVER}-debian-25.patch || die } src_compile() { cd ${SRCDIR} # not mconfigure compat! ./configure --host=${CHOST} --prefix=/usr --with-diffutils || die mmake } src_install() { cd ${SRCDIR} make prefix=${BINDIR}/usr \ man1dir=${BINDIR}/usr/share/man/man1 \ man3dir=${BINDIR}/usr/share/man/man3 \ man5dir=${BINDIR}/usr/share/man/man5 \ install || die minstalldocs ChangeLog COPYING CREDITS NEWS README REFS || die }