summaryrefslogtreecommitdiff
path: root/packages/hfsutils/hfsutils_3.2.6.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-15 11:24:01 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-15 11:24:01 +0000
commit6fd2f7482504103a5bff4df862de152258132df8 (patch)
treefb74ede3f89e28c21a48d80193b15cb93717cdc0 /packages/hfsutils/hfsutils_3.2.6.bb
parent9e0454c007a7237b5e12d2b628495d3329ec2acb (diff)
add package hfsutils, thanks to timtimred
Diffstat (limited to 'packages/hfsutils/hfsutils_3.2.6.bb')
-rw-r--r--packages/hfsutils/hfsutils_3.2.6.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/packages/hfsutils/hfsutils_3.2.6.bb b/packages/hfsutils/hfsutils_3.2.6.bb
new file mode 100644
index 0000000000..981c79351b
--- /dev/null
+++ b/packages/hfsutils/hfsutils_3.2.6.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "HFS file system utilities"
+SECTION = "base"
+LICENSE = "GPL"
+PR = "r1"
+
+inherit autotools pkgconfig
+
+SRC_URI = "ftp://ftp.mars.org/pub/hfs/hfsutils-3.2.6.tar.gz \
+ file://hfsutils-3.2.6-errno.patch;patch=1 \
+ file://largerthan2gb.patch;patch=1 \
+ "
+
+do_configure () {
+ oe_runconf --disable-x
+}
+
+do_compile () {
+ oe_runmake
+ cd hfsck; oe_runmake
+}
+
+do_install () {
+ install -d ${D}/usr/bin
+ install -m 755 hfsutil ${D}/usr/bin/hfsutil
+ install -m 755 hfsck/hfsck ${D}/usr/bin/hfsck
+
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hattrib
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hcd
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hcopy
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hdel
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hdir
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hformat
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/his
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hmkdir
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hmount
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hpwd
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hrename
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hrmdir
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/humount
+ ln -sf /usr/bin/hfsutil ${D}/usr/bin/hvol
+}