summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter van den Abeele <pvdabeel@gentoo.org>2003-04-11 04:51:04 +0000
committerPieter van den Abeele <pvdabeel@gentoo.org>2003-04-11 04:51:04 +0000
commita322f4edd0e43c8b07cd162abfa2c20d43ae0e3c (patch)
tree4ef430229422e4e3d93058ae2bd4e5578a042e02 /sys-apps/hfsutils
parentBump (diff)
downloadhistorical-a322f4edd0e43c8b07cd162abfa2c20d43ae0e3c.tar.gz
historical-a322f4edd0e43c8b07cd162abfa2c20d43ae0e3c.tar.bz2
historical-a322f4edd0e43c8b07cd162abfa2c20d43ae0e3c.zip
Add hfsck
Diffstat (limited to 'sys-apps/hfsutils')
-rw-r--r--sys-apps/hfsutils/files/digest-hfsutils-3.2.6-r31
-rw-r--r--sys-apps/hfsutils/hfsutils-3.2.6-r3.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-apps/hfsutils/files/digest-hfsutils-3.2.6-r3 b/sys-apps/hfsutils/files/digest-hfsutils-3.2.6-r3
new file mode 100644
index 000000000000..7cdf8f29675b
--- /dev/null
+++ b/sys-apps/hfsutils/files/digest-hfsutils-3.2.6-r3
@@ -0,0 +1 @@
+MD5 fa572afd6da969e25c1455f728750ec4 hfsutils-3.2.6.tar.gz 207697
diff --git a/sys-apps/hfsutils/hfsutils-3.2.6-r3.ebuild b/sys-apps/hfsutils/hfsutils-3.2.6-r3.ebuild
new file mode 100644
index 000000000000..18dbf6258d33
--- /dev/null
+++ b/sys-apps/hfsutils/hfsutils-3.2.6-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hfsutils/hfsutils-3.2.6-r3.ebuild,v 1.1 2003/04/11 04:50:33 pvdabeel Exp $
+
+DESCRIPTION="HFS FS Access utils"
+SRC_URI="ftp://ftp.mars.org/pub/hfs/${P}.tar.gz"
+HOMEPAGE="http://www.mars.org/home/rob/proj/hfs/"
+IUSE="tcltk"
+
+KEYWORDS="~x86 ~ppc -sparc"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="virtual/glibc
+ tcltk? ( dev-lang/tcl dev-lang/tk )"
+RDEPEND=""
+
+MAKEOPTS='PREFIX=/usr MANDIR=/usr/share/man'
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/hfsutils-3.2.6-errno.patch
+}
+
+src_compile() {
+ local myconf
+ use tcltk && myconf="--with-tcl --with-tk"
+
+ econf ${myconf} || die
+ emake || die
+ cd ${S}/hfsck
+ emake || die
+ cd ${S}
+}
+
+src_install() {
+ dodir /usr/bin
+ dodir /usr/lib
+ dodir /usr/share/man/man1
+ cd ${S}
+ make \
+ prefix=${D}/usr \
+ MANDEST=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ install || die
+ cd ${S}/hfsck
+ install -m0755 hfsck ${D}/usr/bin/
+ cd ${S}
+}