diff options
-rw-r--r-- | recipes/dosfstools/dosfstools_2.11.bb | 4 | ||||
-rw-r--r-- | recipes/dosfstools/dosfstools_3.0.9.bb | 28 |
2 files changed, 31 insertions, 1 deletions
diff --git a/recipes/dosfstools/dosfstools_2.11.bb b/recipes/dosfstools/dosfstools_2.11.bb index 211912a116..cecf98531e 100644 --- a/recipes/dosfstools/dosfstools_2.11.bb +++ b/recipes/dosfstools/dosfstools_2.11.bb @@ -8,12 +8,14 @@ SECTION = "base" PRIORITY = "optional" LICENSE = "GPLv2" -PR = "r0" +PR = "r1" SRC_URI = "ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/dosfstools-${PV}.src.tar.gz \ file://alignment_hack.patch \ file://msdos_fat12_undefined.patch \ file://include-linux-types.patch" +CLFAGS_append = ' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' +CFLAGS_append_libc-uclibc = ' ${@base_contains("DISTRO_FEATURES", "largefile", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", "", d)}' do_install () { oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ diff --git a/recipes/dosfstools/dosfstools_3.0.9.bb b/recipes/dosfstools/dosfstools_3.0.9.bb new file mode 100644 index 0000000000..32169f720f --- /dev/null +++ b/recipes/dosfstools/dosfstools_3.0.9.bb @@ -0,0 +1,28 @@ +# 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" + +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPLv3" + +DEFAULT_PREFERENCE = "-1" + +PR = "r0" + +SRC_URI = "http://www.daniel-baumann.ch/software/dosfstools/dosfstools-${PV}.tar.bz2 \ + " +# output of getconf LFS_CFLAGS +# +CLFAGS_append = ' -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' +CFLAGS_append_libc-uclibc = ' ${@base_contains("DISTRO_FEATURES", "largefile", "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64", "", d)}' + +do_install () { + oe_runmake "PREFIX=${D}" "SBINDIR=${D}${sbindir}" \ + "MANDIR=${D}${mandir}/man8" install +} + +SRC_URI[md5sum] = "7f159ec44d3b9c502904bab0236050e4" +SRC_URI[sha256sum] = "3f63676faeac507e909d84c8920ddb6597da1eb688577c2fc9c756b821d0458f" |