wok-next view findutils/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents add40df8725d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="findutils"
4 VERSION="4.7.0"
5 CATEGORY="utilities"
6 TAGS_std="LFS"
7 SHORT_DESC="GNU utilities and tools to find and locate"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="https://www.gnu.org/software/findutils/"
11 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/findutils.html"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
16 DEPENDS_std="glibc-base slitaz-base-files"
18 SPLIT="$PACKAGE-lang"
20 compile_rules()
21 {
22 # for glibc-2.28 (from LFS):
23 sed -i 's|IO_ftrylockfile|IO_EOF_SEEN|' gl/lib/*.c
24 sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c
25 echo '#define _IO_IN_BACKUP 0x100' >> gl/lib/stdio-impl.h
27 ./configure \
28 --localstatedir=/var/lib/locate \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }