### this file is sourced not run
PKGVER=4.2
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3 updated to latest
# release tarball
#PKGVER=4.2
#TARBALL=
#MD5SUM=
#SRC_URL=
#BUNDLE=

# git-master tarball
PKGVER=4.2.2023.04 # release is two years behind
MD5SUM=6fa4376dbeb8502599bbd1c30e47c541
hash=58212c59f94abe9c3e09a477bf19c00ac0d4a93b
hash7=${hash#???????}; hash7=${hash%$hash7}
TARBALL=dosfstools-$PKGVER-$hash7.tar.gz
SRC_URL=https://github.com/dosfstools/dosfstools/archive/$hash.tar.gz


SLACKREQ=
SLACKDESC="dosfstools: dosfstools $PKGVER (MSDOS filesystem tools)
dosfstools: 
dosfstools: osfstools consists of the programs mkfs.fat, fsck.fat and fatlabel to 
dosfstools: create, check and label file systems of the FAT family. The 
dosfstools: dosfstools are licensed under the GNU GPL version 3 or later. See the 
dosfstools: file COPYING for details.
dosfstools: 
dosfstools: https://github.com/dosfstools/dosfstools
dosfstools: 
dosfstools: 
dosfstools:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="--prefix=/            \
            --enable-compat-symlinks \
            --mandir=/usr/share/man  \
            --docdir=/usr/share/doc/dosfstools-$PKGVER"

	cd /tmp/dosfstools* &&
	./autogen.sh &&
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


