mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
Ports: Add dosfstools port
This commit is contained in:
parent
f70ec7582f
commit
6bb738c1b3
3 changed files with 21 additions and 0 deletions
17
Ports/dosfstools/package.sh
Executable file
17
Ports/dosfstools/package.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='dosfstools'
|
||||
version='4.2'
|
||||
useconfigure='true'
|
||||
use_fresh_config_sub='true'
|
||||
config_sub_paths=('config.sub')
|
||||
files="https://github.com/dosfstools/dosfstools/releases/download/v${version}/dosfstools-${version}.tar.gz dosfstools-${version}.tar.gz 64926eebf90092dca21b14259a5301b7b98e7b1943e8a201c7d726084809b527"
|
||||
auth_type='sha256'
|
||||
|
||||
pre_configure() {
|
||||
run ./autogen.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.vfat"
|
||||
ln -sf /usr/local/sbin/mkfs.fat "${SERENITY_INSTALL_ROOT}/usr/local/sbin/mkfs.msdos"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue