# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-fs/reiser4progs/reiser4progs-0.4.20.ebuild,v 1.2 2004/01/11 09:29:08 mr_bones_ Exp $ DESCRIPTION="reiser4progs: mkfs, fsck, etc..." HOMEPAGE="http://www.namesys.com/v4/v4.html" SRC_URI="http://thebsh.namesys.com/snapshots/LATEST/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" DEPEND=">=sys-libs/libaal-0.4.15" src_unpack() { unpack ${A} cd ${S} sed -i 's: $(sbindir): $(DESTDIR)$(sbindir):g' progs/mkfs/Makefile.am } src_compile() { ./prepare || die "prepare failed" econf --sbindir=/sbin --libdir=/lib || die "configure failed" emake || die "make failed" } src_install() { make DESTDIR=${D} install || die dodir /usr/lib mv ${D}/lib/lib{reiser4,repair}.{a,la} ${D}/usr/lib/ dodoc AUTHORS BUGS CREDITS ChangeLog NEWS README THANKS TODO }