wok-next annotate mtd-utils/receipt @ rev 18206
Up py3k (3.4.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 15 13:37:20 2015 +0200 (2015-07-15) |
parents | |
children | e776229a8fef |
rev | line source |
---|---|
pascal@15219 | 1 # SliTaz package receipt. |
pascal@15219 | 2 |
pascal@15219 | 3 PACKAGE="mtd-utils" |
pascal@15219 | 4 VERSION="1.5.0" |
pascal@15219 | 5 CATEGORY="base-system" |
pascal@15219 | 6 SHORT_DESC="Memory Technology Device Tools (including jff2)." |
pascal@15219 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15219 | 8 LICENSE="GPL2" |
pascal@15219 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15219 | 10 WEB_SITE="http://www.linux-mtd.infradead.org/" |
pascal@15219 | 11 WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL" |
pascal@15219 | 12 |
pascal@15219 | 13 DEPENDS="lzo zlib util-linux-uuid" |
pascal@15219 | 14 BUILD_DEPENDS="acl-dev lzo-dev zlib-dev util-linux-uuid-dev" |
pascal@15219 | 15 |
pascal@15219 | 16 # Rules to configure and make the package. |
pascal@15219 | 17 compile_rules() |
pascal@15219 | 18 { |
pascal@15219 | 19 make && make DESTDIR=$DESTDIR install |
pascal@15219 | 20 } |
pascal@15219 | 21 |
pascal@15219 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15219 | 23 genpkg_rules() |
pascal@15219 | 24 { |
pascal@15219 | 25 mkdir -p $fs/usr |
pascal@15219 | 26 cp -a $install/usr/sbin $fs/usr |
pascal@15219 | 27 } |