blob: 289d939bb96e5abae23a5008b514e4f7e824d981 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001# dosfstools OE build file
2# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
3# Copyright (C) 2015, Sören Brinkmann <soeren.brinkmann@gmail> All Rights Reserved
4# Released under the MIT license (see packages/COPYING)
5SUMMARY = "DOS FAT Filesystem Utilities"
6HOMEPAGE = "https://github.com/dosfstools/dosfstools"
7
8SECTION = "base"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00009LICENSE = "GPL-3.0-only"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
11
Andrew Geissler90fd73c2021-03-05 15:25:55 -060012SRC_URI = "https://github.com/dosfstools/dosfstools/releases/download/v${PV}/${BP}.tar.gz \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013 "
Andrew Geissler90fd73c2021-03-05 15:25:55 -060014SRC_URI[sha256sum] = "64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015
16UPSTREAM_CHECK_URI = "https://github.com/dosfstools/dosfstools/releases"
17
Andrew Geissler90fd73c2021-03-05 15:25:55 -060018inherit autotools gettext pkgconfig update-alternatives
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019
Andrew Geissler90fd73c2021-03-05 15:25:55 -060020EXTRA_OECONF = "--enable-compat-symlinks --without-iconv"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021
22CFLAGS += "-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
23
Andrew Geissler5a43b432020-06-13 10:46:56 -050024BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050025
Andrew Geissler6ce62a22020-11-30 19:58:47 -060026ALTERNATIVE_PRIORITY = "100"
Patrick Williams213cb262021-08-07 19:21:33 -050027ALTERNATIVE:${PN} = "mkfs.vfat"
Andrew Geissler6ce62a22020-11-30 19:58:47 -060028ALTERNATIVE_LINK_NAME[mkfs.vfat] = "${sbindir}/mkfs.vfat"