smlinux/base/dosfstools/dosfstools.SMBuild
PktSurf 2818c6283f Fixed documentation directory-related build options in several build files
Removed extraneous README file in extra/FEH
Discarded DEBUG=0 build flag in extra/cmus
2023-03-30 20:30:49 +05:30

36 lines
811 B
Text
Executable file

app=dosfstools
version=4.1
build=2sml
homepage="https://github.com/dosfstools/dosfstools"
download="https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.gz"
desc="Tools for working with FAT filesystems"
requires="eudev"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
LDFLAGS="-static" \
./configure \
--prefix="" \
--sbindir=/bin \
--docdir="/share/doc/$app-$version" \
--enable-compat-symlinks
make
make install DESTDIR=$pkg
cp COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
d70ee344b35e25ab7bec3feaafd412f4ccc0c744fb0275c4c97e70e575afb3dcfe70e7c714a7b9a026f180ac2b67bb492b011150309e7eb9d6acc473d1857652 dosfstools-4.1.tar.lz
"