diff mbox

[20/28] dosfstools: Add version 3.0.24

Message ID 07dcf8e7146309799517fce2fa46303db0e592d0.1397117164.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk April 10, 2014, 8:09 a.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

Signed-off-by: Christian Sørensen <christian.braunersorensen@prevas.dk>
---
 recipes/dosfstools/dosfstools_3.0.24.oe     | 40 +++++++++++++++++++++++++++++
 recipes/dosfstools/dosfstools_3.0.24.oe.sig |  1 +
 2 files changed, 41 insertions(+)
 create mode 100644 recipes/dosfstools/dosfstools_3.0.24.oe
 create mode 100644 recipes/dosfstools/dosfstools_3.0.24.oe.sig
diff mbox

Patch

diff --git a/recipes/dosfstools/dosfstools_3.0.24.oe b/recipes/dosfstools/dosfstools_3.0.24.oe
new file mode 100644
index 0000000..2614f95
--- /dev/null
+++ b/recipes/dosfstools/dosfstools_3.0.24.oe
@@ -0,0 +1,40 @@ 
+# -*- mode:python; -*-
+# dosfstools OE build file
+# Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
+# Released under the MIT license (see packages/COPYING)
+
+DESCRIPTION = "DOS FAT Filesystem Utilities"
+LICENSE = "GPLv3"
+
+RECIPE_TYPES = "machine native sdk"
+
+SRC_URI = "http://www.daniel-baumann.ch/files/software/dosfstools/dosfstools-${PV}.tar.gz"
+
+inherit c make
+
+# output of getconf LFS_CFLAGS
+#
+CFLAGS += '-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
+
+do_install () {
+	oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \
+		   "MANDIR=${D}${mandir}" "DOCDIR=${D}${docdir}" install
+}
+
+PACKAGES =+ "${PN}-mkfs ${PN}-fsck ${PN}-fslabel"
+
+FILES_${PN}-mkfs = "${sbindir}/mkdosfs ${sbindir}/mkfs.*"
+FILES_${PN}-fsck = "${sbindir}/dosfsck ${sbindir}/fsck.*"
+FILES_${PN}-fslabel = "${sbindir}/dosfslabel"
+
+PROVIDES_${PN}-mkfs = "util/mkfs.msdos util/mkfs.vfat util/mkdosfs"
+PROVIDES_${PN}-fsck = "util/fsck.msdos util/fsck.vfat util/dosfsck"
+PROVIDES_${PN}-fslabel = "util/dosfslabel"
+
+DEPENDS_${PN}-mkfs = "libc libgcc"
+RDEPENDS_${PN}-mkfs = "libc libgcc"
+DEPENDS_${PN}-fsck = "libc libgcc"
+RDEPENDS_${PN}-fsck = "libc libgcc"
+
+RDEPENDS_${PN} = "libgcc libc ${PN}-mkfs ${PN}-fsck ${PN}-fslabel"
+DEPENDS_${PN} = "libgcc libc ${PN}-mkfs ${PN}-fsck ${PN}-fslabel"
diff --git a/recipes/dosfstools/dosfstools_3.0.24.oe.sig b/recipes/dosfstools/dosfstools_3.0.24.oe.sig
new file mode 100644
index 0000000..22efd3c
--- /dev/null
+++ b/recipes/dosfstools/dosfstools_3.0.24.oe.sig
@@ -0,0 +1 @@ 
+414c30080f52b0e37faeddc29dba61b72a2b7ebb  dosfstools-3.0.24.tar.gz