wok annotate dosfstools/receipt @ rev 14092
emacs 24.2: reverting changes made for the soon upcoming 24.3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Feb 22 22:55:18 2013 +0100 (2013-02-22) |
parents | 4fb6567f0f14 |
children | eb8067417980 |
rev | line source |
---|---|
pankso@143 | 1 # SliTaz package receipt. |
pankso@143 | 2 |
pankso@143 | 3 PACKAGE="dosfstools" |
devl547@11304 | 4 VERSION="3.0.12" |
pankso@202 | 5 CATEGORY="system-tools" |
slaxemulator@6324 | 6 SHORT_DESC="Tools to create and check dos filesystems." |
pankso@143 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@11305 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6324 | 9 WEB_SITE="http://www.daniel-baumann.ch/software/dosfstools" |
slaxemulator@6324 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@143 | 11 |
pankso@143 | 12 # Rules to configure and make the package. |
pankso@143 | 13 compile_rules() |
pankso@143 | 14 { |
pankso@143 | 15 cd $src |
pankso@143 | 16 make |
pankso@143 | 17 } |
pankso@143 | 18 |
pankso@143 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@143 | 20 genpkg_rules() |
pankso@143 | 21 { |
pankso@143 | 22 mkdir -p $fs/sbin |
slaxemulator@6324 | 23 cp -a $src/mkdosfs $fs/sbin |
slaxemulator@6324 | 24 cp -a $src/dosfsck $fs/sbin |
slaxemulator@6324 | 25 cp -a $src/dosfslabel $fs/sbin |
pankso@143 | 26 } |
pascal@8876 | 27 |
pascal@8876 | 28 # Overlap busybox |
pascal@8876 | 29 pre_install() |
pascal@8876 | 30 { |
pascal@8876 | 31 rm -f $1/sbin/mkdosfs |
pascal@8876 | 32 } |
pascal@8876 | 33 |
pascal@8876 | 34 post_remove() |
pascal@8876 | 35 { |
pascal@8876 | 36 ln -s /bin/busybox /sbin/mkdosfs |
pascal@8876 | 37 } |