wok-next annotate findutils/receipt @ rev 21654
updated findutils (4.6.0 -> 4.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 21:36:55 2020 +0100 (2020-06-26) |
parents | add40df8725d |
children |
rev | line source |
---|---|
al@19743 | 1 # SliTaz package receipt v2. |
pankso@839 | 2 |
pankso@839 | 3 PACKAGE="findutils" |
Hans-G?nter@21654 | 4 VERSION="4.7.0" |
pankso@839 | 5 CATEGORY="utilities" |
Hans-G?nter@21654 | 6 TAGS_std="LFS" |
Hans-G?nter@21654 | 7 SHORT_DESC="GNU utilities and tools to find and locate" |
Hans-G?nter@21654 | 8 MAINTAINER="maintainer@slitaz.org" |
pascal@14999 | 9 LICENSE="GPL3" |
al@19561 | 10 WEB_SITE="https://www.gnu.org/software/findutils/" |
al@20436 | 11 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/findutils.html" |
al@19561 | 12 |
Hans-G?nter@21654 | 13 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@839 | 14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@839 | 15 |
al@21062 | 16 DEPENDS_std="glibc-base slitaz-base-files" |
al@21062 | 17 |
Hans-G?nter@21654 | 18 SPLIT="$PACKAGE-lang" |
Hans-G?nter@21654 | 19 |
Hans-G?nter@21654 | 20 compile_rules() |
Hans-G?nter@21654 | 21 { |
al@21062 | 22 # for glibc-2.28 (from LFS): |
al@21062 | 23 sed -i 's|IO_ftrylockfile|IO_EOF_SEEN|' gl/lib/*.c |
al@21062 | 24 sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c |
al@21062 | 25 echo '#define _IO_IN_BACKUP 0x100' >> gl/lib/stdio-impl.h |
al@21062 | 26 |
Hans-G?nter@21654 | 27 ./configure \ |
Hans-G?nter@21654 | 28 --localstatedir=/var/lib/locate \ |
pankso@2741 | 29 $CONFIGURE_ARGS && |
pankso@2741 | 30 make && |
al@19561 | 31 make install |
pankso@839 | 32 } |