wok-current view mtd-utils/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
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 }