wok-next diff mtd-utils/receipt @ rev 21015
Small updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 15 14:02:33 2018 +0300 (2018-10-15) |
parents | 2538504c27db |
children | d5aab818505e |
line diff
1.1 --- a/mtd-utils/receipt Thu Nov 16 18:49:02 2017 +0100 1.2 +++ b/mtd-utils/receipt Mon Oct 15 14:02:33 2018 +0300 1.3 @@ -1,30 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="mtd-utils" 1.8 VERSION="2.0.1" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="Memory Technology Device Tools (including jff2)." 1.11 +SHORT_DESC="Memory Technology Device Tools (including jff2)" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.linux-mtd.infradead.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WEB_SITE="http://www.linux-mtd.infradead.org/" 1.18 WGET_URL="ftp://ftp.infradead.org/pub/mtd-utils/$TARBALL" 1.19 1.20 -DEPENDS="lzo zlib util-linux-uuid" 1.21 BUILD_DEPENDS="acl-dev lzo-dev zlib-dev util-linux-uuid-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - ./configure \ 1.27 - --prefix=/usr \ 1.28 - $CONFIGURE_ARGS && 1.29 - make && make DESTDIR=$DESTDIR install 1.30 +compile_rules() { 1.31 + ./configure $CONFIGURE_ARGS && 1.32 + fix libtool && 1.33 + make && 1.34 + make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 -genpkg_rules() 1.39 -{ 1.40 - mkdir -p $fs/usr 1.41 - cp -a $install/usr/sbin $fs/usr 1.42 +genpkg_rules() { 1.43 + copy @std 1.44 + DEPENDS="lzo zlib util-linux-uuid" 1.45 }