blob: 268bc9f470ca3da48f5358eaf35875424877bef4 [file] [log] [blame]
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/jfsutils/jfsutils-1.1.8.ebuild,v 1.8 2007/05/16 03:25:41 kumba Exp $
DESCRIPTION="IBM's Journaling Filesystem (JFS) Utilities"
HOMEPAGE="http://jfs.sourceforge.net/"
SRC_URI="http://jfs.sourceforge.net/project/pub/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 hppa ia64 mips ppc ppc64 ~sparc x86"
IUSE=""
DEPEND="virtual/libc"
src_compile() {
econf \
--sbindir=/sbin || die "econf failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
rm -f ${D}/sbin/mkfs.jfs fsck.jfs
dosym /sbin/jfs_mkfs /sbin/mkfs.jfs
dosym /sbin/jfs_fsck /sbin/fsck.jfs
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
}