2017-03-22 13:02:38 +01:00
|
|
|
|
# Description: DOS dosya sistemi yardımcı programları
|
|
|
|
|
# URL: https://github.com/dosfstools/dosfstools
|
2016-04-21 18:21:18 +02:00
|
|
|
|
# Packager: milisarge
|
2017-01-31 01:37:09 +01:00
|
|
|
|
# Depends on:
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
|
|
name=dosfstools
|
|
|
|
|
version=3.0.13
|
|
|
|
|
release=1
|
|
|
|
|
source=( ftp://ftp.debian.org/debian/pool/main/d/$name/$name\_$version.orig.tar.xz)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
make
|
|
|
|
|
mkdir -p $PKG/sbin
|
2017-01-31 01:37:09 +01:00
|
|
|
|
mkdir -p $PKG/usr/share/man/man8
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cp dosfsck $PKG/sbin
|
|
|
|
|
cp man/* $PKG/usr/share/man/man8
|
|
|
|
|
cp mkdosfs $PKG/sbin
|
|
|
|
|
cd $PKG/sbin && ln -s dosfsck fsck.msdos && ln -s dosfsck fsck.vfat \
|
|
|
|
|
&& ln -s mkdosfs mkfs.msdos && ln -s mkdosfs mkfs.vfat
|
|
|
|
|
cd $PKG/usr/share/man/man8 && ln -s dosfsck.8 fsck.msdos.8 \
|
|
|
|
|
&& ln -s dosfsck.8 fsck.vfat.8 && ln -s mkdosfs.8 mkfs.msdos.8 \
|
|
|
|
|
&& ln -s mkdosfs.8 mkfs.vfat.8
|
|
|
|
|
}
|