wok-current view dosfstools/receipt @ rev 9323
Add gtkaml (XML markup to make gtk+ gui - may replace our gtkdialog code in time)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:06:34 2011 +0100 (2011-03-18) |
parents | 21b80c68de86 |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="dosfstools"
4 VERSION="3.0.11"
5 CATEGORY="system-tools"
6 SHORT_DESC="Tools to create and check dos filesystems."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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 strip -s $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 }