wok-4.x view dosfstools/receipt @ rev 12322
get-wfica: update (thanks Carl)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 22 18:22:54 2012 +0200 (2012-08-22) |
parents | 4fb6567f0f14 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dosfstools"
4 VERSION="3.0.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tools to create and check dos filesystems."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.daniel-baumann.ch/software/dosfstools"
10 WGET_URL="$WEB_SITE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 make
17 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/sbin
23 cp -a $src/mkdosfs $fs/sbin
24 cp -a $src/dosfsck $fs/sbin
25 cp -a $src/dosfslabel $fs/sbin
26 }
28 # Overlap busybox
29 pre_install()
30 {
31 rm -f $1/sbin/mkdosfs
32 }
34 post_remove()
35 {
36 ln -s /bin/busybox /sbin/mkdosfs
37 }