wok-next view coreutils/receipt @ rev 19715

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