wok-stable annotate dosfstools/receipt @ rev 9014

Up: libcanberra to 0.26.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 13:08:49 2011 +0000 (2011-03-03)
parents f5889d914299
children 2ab1bb45de99
rev   line source
pankso@143 1 # SliTaz package receipt.
pankso@143 2
pankso@143 3 PACKAGE="dosfstools"
slaxemulator@6324 4 VERSION="3.0.10"
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 }