summaryrefslogtreecommitdiffstats
path: root/base/dosfstools/Pkgfile
blob: d4e87cbfc5f8cc0f49dc6ffb1ea150e6f53a485d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Description: Commandes MS-DOS FAT pour linux
# URL: ftp://ftp.ibiblio.org/pub/Linux/system/filesystems/dosfs/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on:

name=dosfstools
version=3.0.9
release=1
source=( ftp://ftp.debian.org/debian/pool/main/d/$name/$name\_$version.orig.tar.gz)

build() {
	cd $name-$version
	make
      mkdir -p $PKG/sbin
	mkdir -p $PKG/usr/share/man/man8 
	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
}