wok-current view mtd-utils/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | aa111da43a0e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mtd-utils"
4 VERSION="2.1.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory Technology Device Tools (including jff2)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.linux-mtd.infradead.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL"
14 DEPENDS="lzo util-linux-uuid zlib"
15 BUILD_DEPENDS="acl-dev file lzo-dev openssl-dev util-linux-uuid-dev zlib-dev"
17 current_version()
18 {
19 wget -O - http://git.infradead.org/mtd-utils.git 2> /dev/null | \
20 sed '/mtd-utils.git\/tag\//!d;s|.*mtd-utils-||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 -without-zstd &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }