wok-6.x annotate mtd-utils/receipt @ rev 16990
caja, engrampa: Fix genpkg rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Aug 09 12:56:36 2014 -0300 (2014-08-09) |
parents | |
children | 12c94db44a24 |
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 } |