wok-next annotate coreutils/receipt @ rev 19589

Up faenza-icon-theme, tzdata.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 21 11:36:06 2017 +0200 (2017-01-21)
parents 1d0123efe74c
children 4550df96633d
rev   line source
pankso@15 1 # SliTaz package receipt.
pankso@15 2
pankso@15 3 PACKAGE="coreutils"
al@19215 4 VERSION="8.25"
al@19561 5 CATEGORY="meta"
pankso@15 6 SHORT_DESC="Utilities for using and setting the basic system."
pankso@15 7 MAINTAINER="pankso@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@19215 9 WEB_SITE="https://www.gnu.org/software/coreutils/coreutils.html"
al@19561 10
slaxemulator@7244 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19215 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@14074 13
al@19215 14 SIBLINGS="coreutils-multicall"
al@19215 15 SPLIT="coreutils-character coreutils-command coreutils-conditions coreutils-\
al@19215 16 context-system coreutils-context-user coreutils-context-working coreutils-\
al@19215 17 directory coreutils-disk coreutils-file-attributes coreutils-file-format \
al@19215 18 coreutils-file-output-full coreutils-file-output-part coreutils-file-sort \
al@19215 19 coreutils-file-special coreutils-file-summarize coreutils-line coreutils-\
al@19215 20 numeric coreutils-operations coreutils-path coreutils-print coreutils-\
al@19215 21 redirection"
al@19561 22 DEPENDS="glibc-base acl attr gmp $SPLIT"
al@19561 23 BUILD_DEPENDS="automake autoconf gettext xz libcap-dev gmp-dev patch"
pankso@15 24
pankso@15 25 # Rules to configure and make the package.
pankso@15 26 compile_rules()
pankso@15 27 {
al@19215 28 # LFS: Coreutils Internationalization Fixes Patch
al@19215 29 patch -Np1 -i $stuff/coreutils-8.25-i18n-2.patch
al@19215 30 # SliTaz: show extended info touching CPU via uname
al@19215 31 patch -p1 -i $stuff/uname.u
al@19561 32 # SliTaz: fix translations, especially deprecated symbol '\v'
al@19561 33 patch -p1 -i $stuff/coreutils-fix-po.patch
al@19561 34 msgfmt po/nb.po -o po/nb.gmo
al@19561 35 msgfmt po/sl.po -o po/sl.gmo
rcx@3574 36
al@19215 37 autoreconf -fi
pankso@4080 38
al@19215 39 FORCE_UNSAFE_CONFIGURE=1 ./configure $CONFIGURE_ARGS &&
slaxemulator@10149 40 make && make install
pankso@4080 41
al@19215 42 # LFS: Move programs to the locations specified by the FHS
al@19215 43 mkdir -p \
al@19215 44 $install/bin \
al@19215 45 $install/usr/sbin \
al@19215 46 $install/usr/share/man/man8
al@19215 47 for i in cat chgrp chmod chown cp date dd df echo false ln ls mkdir \
al@19215 48 mknod mv pwd rm rmdir stty sync true uname; do
al@19215 49 mv $install/usr/bin/$i $install/bin
al@19215 50 done
al@19215 51 mv $install/usr/bin/chroot $install/usr/sbin
al@19215 52 mv $install/usr/share/man/man1/chroot.1 \
al@19215 53 $install/usr/share/man/man8/chroot.8
al@19215 54 sed -i 's|"1"|"8"|' $install/usr/share/man/man8/chroot.8
pankso@15 55 }