# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/reiserfsprogs/reiserfsprogs-3.6.11-r1.ebuild,v 1.5 2004/05/23 21:22:07 pvdabeel Exp $ inherit flag-o-matic eutils DESCRIPTION="Reiserfs Utilities" HOMEPAGE="http://www.namesys.com/" SRC_URI="http://www.namesys.com/pub/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="ia64 hppa ppc" src_unpack() { unpack ${A} if [ "$ARCH" = "ia64" ]; then # Should work on everything, but needed on IA-64. Thanks # to Vitaly Fertman from the Namesys/ReiserFS team for # this fix. Makes reiserfsck work. (drobbins, 23 Sep 03) cd ${S} epatch ${FILESDIR}/blk_size.patch fi } src_compile() { filter-flags -fPIC ./configure --prefix=/ || die "Failed to configure" emake || die "Failed to compile" } src_install() { make DESTDIR="${D}" install || die "Failed to install" dodir /usr/share dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README cd ${D} mv man usr/share dosym /sbin/reiserfsck /sbin/fsck.reiserfs }