wok annotate mtd-utils/receipt @ rev 24454
gnustep-back: added dependency icu
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 07:53:02 2022 +0100 (2022-02-16) |
parents | aa111da43a0e |
children |
rev | line source |
---|---|
pascal@15219 | 1 # SliTaz package receipt. |
pascal@15219 | 2 |
pascal@15219 | 3 PACKAGE="mtd-utils" |
Hans-G?nter@23197 | 4 VERSION="2.1.1" |
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" |
Hans-G?nter@21494 | 9 WEB_SITE="http://www.linux-mtd.infradead.org/" |
Hans-G?nter@21494 | 10 |
pascal@15219 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@15219 | 12 WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL" |
pascal@15219 | 13 |
Hans-G?nter@21494 | 14 DEPENDS="lzo util-linux-uuid zlib" |
Hans-G?nter@23197 | 15 BUILD_DEPENDS="acl-dev file lzo-dev openssl-dev util-linux-uuid-dev zlib-dev" |
pascal@15219 | 16 |
pascal@24093 | 17 current_version() |
pascal@24093 | 18 { |
pascal@24093 | 19 wget -O - http://git.infradead.org/mtd-utils.git 2> /dev/null | \ |
pascal@24093 | 20 sed '/mtd-utils.git\/tag\//!d;s|.*mtd-utils-||;s|<.*||;q' |
pascal@24093 | 21 } |
pascal@24093 | 22 |
pascal@15219 | 23 # Rules to configure and make the package. |
pascal@15219 | 24 compile_rules() |
pascal@15219 | 25 { |
Hans-G?nter@23197 | 26 ./configure \ |
Hans-G?nter@23197 | 27 -without-zstd && |
Hans-G?nter@21494 | 28 make && |
Hans-G?nter@21494 | 29 make DESTDIR=$DESTDIR install |
pascal@15219 | 30 } |
pascal@15219 | 31 |
pascal@15219 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15219 | 33 genpkg_rules() |
pascal@15219 | 34 { |
pascal@15219 | 35 mkdir -p $fs/usr |
Hans-G?nter@23197 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@15219 | 37 } |