summaryrefslogtreecommitdiffstats
path: root/extra/dosfstools/Pkgfile
blob: 65e85b888297eb378e2f6e03a73b07985bb925d1 (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
26
27
28
# $Id: build,v 1.3 2008/06/20 17:41:31 install Exp root $
# 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=2.11
release=1
source=( http://fresh.t-systems-sfr.com/linux/src/$name-$version.src.tar.gz\
       )

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