summaryrefslogtreecommitdiff
path: root/repo/util/dosfstools.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-18 16:41:30 +0000
committerdavidovski <david@davidovski.xyz>2022-01-18 16:41:30 +0000
commit62e6db1a0d4a1708867131473c9f48e2d8c9d523 (patch)
tree660744a2ab7f83adeac01fba99b5411438013b58 /repo/util/dosfstools.xibuild
parent77511c89f1c191215b250a1d8f8db75b0f8268fb (diff)
added efi tools
Diffstat (limited to 'repo/util/dosfstools.xibuild')
-rw-r--r--repo/util/dosfstools.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/util/dosfstools.xibuild b/repo/util/dosfstools.xibuild
new file mode 100644
index 0000000..c84fc30
--- /dev/null
+++ b/repo/util/dosfstools.xibuild
@@ -0,0 +1,27 @@
+#!/bin/bash
+
+DEPS=()
+
+PKG_VER=4.2
+SOURCE=https://github.com/dosfstools/dosfstools/releases/download/v$PKG_VER/dosfstools-$PKG_VER.tar.gz
+DESC="Utilities for use with the FAT familiy of file systems"
+
+prepare () {
+ curl -SsL https://unifoundry.com/pub/unifont/unifont-13.0.06/font-builds/unifont-13.0.06.pcf.gz > unifont-13.0.06.pcf.gz
+ gunzip -c unifont-13.0.06.pcf.gz > /usr/share/fonts/unifont/unifont.pcf
+
+ unset {C,CPP,CXX,LD}FLAGS
+}
+
+build () {
+ ./configure --prefix=/usr \
+ --enable-compat-symlinks \
+ --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/dosfstools-$PKG_VER &&
+ make
+
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}