2024-09-09 08:52:07 +00:00
|
|
|
# dosfstools OE build file
|
|
|
|
# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved
|
|
|
|
# Released under the MIT license (see packages/COPYING)
|
|
|
|
SUMMARY = "DOS FAT Filesystem Utilities"
|
2024-09-09 08:57:42 +00:00
|
|
|
HOMEPAGE = "http://daniel-baumann.ch/software/dosfstools/"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://mkdosfs/COPYING;md5=cbe67f08d6883bff587f615f0cc81aa8"
|
2024-09-09 08:57:42 +00:00
|
|
|
PR = "r5"
|
2024-09-09 08:52:07 +00:00
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.src.tar.gz/407d405ade410f7597d364ab5dc8c9f6/${BP}.src.tar.gz \
|
2024-09-09 08:52:07 +00:00
|
|
|
file://mkdosfs-bootcode.patch \
|
|
|
|
file://mkdosfs-dir.patch \
|
|
|
|
file://alignment_hack.patch \
|
|
|
|
file://msdos_fat12_undefined.patch \
|
|
|
|
file://dosfstools-msdos_fs-types.patch \
|
|
|
|
file://include-linux-types.patch \
|
|
|
|
file://nofat32_autoselect.patch \
|
|
|
|
file://fix_populated_dosfs_creation.patch "
|
|
|
|
|
|
|
|
SRC_URI[md5sum] = "407d405ade410f7597d364ab5dc8c9f6"
|
|
|
|
SRC_URI[sha256sum] = "0eac6d12388b3d9ed78684529c1b0d9346fa2abbe406c4d4a3eb5a023c98a484"
|
|
|
|
|
2024-09-09 08:57:42 +00:00
|
|
|
# Makefile sets this, but we clobber its CFLAGS, so
|
|
|
|
# add this in here to for sure allow for big files.
|
|
|
|
#
|
|
|
|
CFLAGS_append = " -D_FILE_OFFSET_BITS=64"
|
|
|
|
|
2024-09-09 08:52:07 +00:00
|
|
|
do_install () {
|
2024-09-09 08:57:42 +00:00
|
|
|
oe_runmake "PREFIX=${D}" "SBINDIR=${D}${base_sbindir}" \
|
2024-09-09 08:52:07 +00:00
|
|
|
"MANDIR=${D}${mandir}/man8" install
|
|
|
|
}
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|