wok-next view dosfstools/receipt @ rev 15714
Add util-linux-eject
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Dec 24 22:10:59 2013 +0000 (2013-12-24) |
parents | 1c1b684d2ebf |
children | aab3a1c1a832 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.daniel-baumann.ch/software/dosfstools"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/sbin
24 cp -a $src/mkdosfs $fs/sbin
25 cp -a $src/dosfsck $fs/sbin
26 cp -a $src/dosfslabel $fs/sbin
27 }
29 # Overlap busybox
30 pre_install()
31 {
32 rm -f $1/sbin/mkdosfs
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox /sbin/mkdosfs
38 }