new: more package migrations
This commit is contained in:
3
src/dosfstools/.gitignore
vendored
Normal file
3
src/dosfstools/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.cache/
|
||||
dist/
|
||||
root/
|
2
src/dosfstools/changes.md
Normal file
2
src/dosfstools/changes.md
Normal file
@ -0,0 +1,2 @@
|
||||
# 4.2
|
||||
First version
|
25
src/dosfstools/pkg.sh
Normal file
25
src/dosfstools/pkg.sh
Normal file
@ -0,0 +1,25 @@
|
||||
# general info
|
||||
NAME="dosfstools"
|
||||
DESC="Utilities for use with the FAT family of file systems"
|
||||
VERSION="4.2"
|
||||
|
||||
# required files
|
||||
FILES=("https://github.com/dosfstools/dosfstools/releases/download/v${VERSION}/dosfstools-${VERSION}.tar.gz")
|
||||
HASHES=("49c8e457327dc61efab5b115a27b087a")
|
||||
|
||||
# install and build depends
|
||||
DEPENDS=("glibc")
|
||||
BUILD=()
|
||||
|
||||
build(){
|
||||
tar xf "${NAME}-${VERSION}.tar.gz"
|
||||
cd "${NAME}-${VERSION}"
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-compat-symlinks \
|
||||
--mandir=/usr/share/man \
|
||||
--docdir="/usr/share/doc/dosfstools-${VERSION}"
|
||||
make && make DESTDIR="${ROOTDIR}" install
|
||||
|
||||
cd .. && rm -r "${NAME}-${VERSION}"
|
||||
}
|
Reference in New Issue
Block a user