wok-6.x annotate disktype/receipt @ rev 15805
bash: prevent rm .bashrc error when removing bash
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jan 23 13:38:58 2014 +0000 (2014-01-23) |
parents | ddd59800f797 |
children | 640a2eba2511 |
rev | line source |
---|---|
slaxemulator@7606 | 1 # SliTaz package receipt. |
slaxemulator@7606 | 2 |
slaxemulator@7606 | 3 PACKAGE="disktype" |
slaxemulator@7606 | 4 VERSION="9" |
slaxemulator@7606 | 5 CATEGORY="system-tools" |
slaxemulator@7606 | 6 SHORT_DESC="Detects the content format of a disk or disk image (file systems, partition tables, and boot codes)" |
slaxemulator@7606 | 7 MAINTAINER="db_slitaz@m4x.org" |
pascal@15579 | 8 LICENSE="MIT" |
slaxemulator@7606 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7606 | 10 WEB_SITE="http://disktype.sourceforge.net/" |
slaxemulator@7606 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@7606 | 12 |
pascal@15579 | 13 DEPENDS="" |
pascal@15579 | 14 |
slaxemulator@7606 | 15 # Rules to configure and make the package. |
slaxemulator@7606 | 16 compile_rules() |
slaxemulator@7606 | 17 { |
slaxemulator@7606 | 18 cd $src |
slaxemulator@7606 | 19 make |
slaxemulator@7606 | 20 } |
slaxemulator@7606 | 21 |
slaxemulator@7606 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7606 | 23 genpkg_rules() |
slaxemulator@7606 | 24 { |
slaxemulator@7606 | 25 mkdir -p $fs/usr/bin |
slaxemulator@7606 | 26 cp -a $src/disktype $fs/usr/bin |
slaxemulator@7606 | 27 } |