wok-next annotate dosfstools/receipt @ rev 15795
Up slitaz-tools (5.5.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 19 14:21:08 2014 +0100 (2014-01-19) |
parents | 1c1b684d2ebf |
children | aab3a1c1a832 |
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@15579 | 8 LICENSE="GPL3" |
pascal@11305 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6324 | 10 WEB_SITE="http://www.daniel-baumann.ch/software/dosfstools" |
slaxemulator@6324 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pankso@143 | 12 |
pankso@143 | 13 # Rules to configure and make the package. |
pankso@143 | 14 compile_rules() |
pankso@143 | 15 { |
pankso@143 | 16 cd $src |
pankso@143 | 17 make |
pankso@143 | 18 } |
pankso@143 | 19 |
pankso@143 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@143 | 21 genpkg_rules() |
pankso@143 | 22 { |
pankso@143 | 23 mkdir -p $fs/sbin |
slaxemulator@6324 | 24 cp -a $src/mkdosfs $fs/sbin |
slaxemulator@6324 | 25 cp -a $src/dosfsck $fs/sbin |
slaxemulator@6324 | 26 cp -a $src/dosfslabel $fs/sbin |
pankso@143 | 27 } |
pascal@8876 | 28 |
pascal@8876 | 29 # Overlap busybox |
pascal@8876 | 30 pre_install() |
pascal@8876 | 31 { |
pascal@8876 | 32 rm -f $1/sbin/mkdosfs |
pascal@8876 | 33 } |
pascal@8876 | 34 |
pascal@8876 | 35 post_remove() |
pascal@8876 | 36 { |
pascal@8876 | 37 ln -s /bin/busybox /sbin/mkdosfs |
pascal@8876 | 38 } |