wok-next diff util-linux/receipt @ rev 20436
Update packages listed in the LFS book.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 21 19:48:17 2018 +0200 (2018-02-21) |
parents | 77529bc3b589 |
children | dfe25744cfaf |
line diff
1.1 --- a/util-linux/receipt Fri Sep 01 13:09:05 2017 +0300 1.2 +++ b/util-linux/receipt Wed Feb 21 19:48:17 2018 +0200 1.3 @@ -1,13 +1,13 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="util-linux" 1.7 -VERSION="2.30.0" 1.8 +VERSION="2.30.1" 1.9 CATEGORY="meta" 1.10 SHORT_DESC="Random collection of Linux utilities" 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2 LGPL2.1 BSD PublicDomain" 1.13 WEB_SITE="https://en.wikipedia.org/wiki/Util-linux" 1.14 -HOST_ARCH="i486 arm" 1.15 +LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/util-linux.html" 1.16 1.17 TARBALL="$PACKAGE-${VERSION%.0}.tar.xz" 1.18 WGET_URL="https://www.kernel.org/pub/linux/utils/util-linux/v${VERSION%.*}/$TARBALL" 1.19 @@ -23,9 +23,7 @@ 1.20 util-linux-sfdisk util-linux-smartcols util-linux-smartcols-dev \ 1.21 util-linux-uuid util-linux-uuid-dev util-linux-whereis util-linux-misc" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 +compile_rules() { 1.27 # Fix undeclared 'LINE_MAX' 1.28 case "$ARCH" in 1.29 arm) sed -i s'|LINE_MAX|25|' text-utils/*.c ;; 1.30 @@ -44,9 +42,7 @@ 1.31 cp $stuff/cfdisk.desktop $install/usr/share/applications 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 case ${PACKAGE#util-linux-} in 1.39 bash-completion) 1.40 copy bash-completion/ 1.41 @@ -182,10 +178,12 @@ 1.42 DEPENDS="glibc-base" 1.43 ;; 1.44 misc) 1.45 - copy @std @dev 1.46 - remove_already_packed 1.47 + copy @std @dev @rm 1.48 CAT="system-tools|misc utilities" 1.49 ;; 1.50 + util-linux) 1.51 + TAGS="LFS" 1.52 + ;; 1.53 esac 1.54 1.55 if [ "$PACKAGE" != 'util-linux-bash-completion' -a -d "$fs/usr/share/bash-completion" ]; then