wok-current annotate 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 |
rev | line source |
---|---|
pankso@143 | 1 # SliTaz package receipt. |
pankso@143 | 2 |
pankso@143 | 3 PACKAGE="dosfstools" |
slaxemulator@9293 | 4 VERSION="3.0.11" |
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" |
slaxemulator@6324 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
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 strip -s $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 } |