# $Id: reiserfsprogs-3.6.21-r3.smage2 5339 2010-04-25 23:29:14Z niro $ PNAME="reiserfsprogs" PVER="3.6.21" PBUILD="r4" PCATEGORIE="sys-fs" STATE="unstable" DESCRIPTION="User-level tools for ReiserFS filesystems." HOMEPAGE="http://www.namesys.com/" DEPEND="" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mtools SRC_URI=( http://kernel.org/pub/linux/utils/fs/reiserfs/${SRCFILE} #http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/distfiles/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-${PVER}-fsck-n.patch ) UP2DATE="updatecmd http://kernel.org/pub/linux/utils/fs/reiserfs/ | lasttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # support fsck -f -n mpatch ${PNAME}-${PVER}-fsck-n.patch || die } src_compile() { cd ${SRCDIR} mconfigure --sbindir=/sbin || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die mlink reiserfsck /sbin/fsck.reiserfs || die mlink mkreiserfs /sbin/mkfs.reiserfs || die minstalldocs AUTHORS ChangeLog COPYING CREDITS NEWS README || die }