wok-next diff findutils/receipt @ rev 19561
Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 16 01:16:56 2016 +0200 (2016-12-16) |
parents | 9e01bc6321ea |
children | 7387df590f12 |
line diff
1.1 --- a/findutils/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/findutils/receipt Fri Dec 16 01:16:56 2016 +0200 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="findutils" 1.7 -VERSION="4.4.2" 1.8 +VERSION="4.6.0" 1.9 CATEGORY="utilities" 1.10 SHORT_DESC="GNU utilities and tools to find/locate." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL3" 1.13 +WEB_SITE="https://www.gnu.org/software/findutils/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.gnu.org/software/findutils/" 1.17 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 DEPENDS="glibc-base slitaz-base-files" 1.20 @@ -15,33 +16,20 @@ 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - cd $src 1.25 ./configure \ 1.26 - --prefix=/usr \ 1.27 - --libexecdir=/usr/lib/findutils \ 1.28 - --localstatedir=/var \ 1.29 - --infodir=/usr/share/info \ 1.30 - --mandir=/usr/share/man \ 1.31 + --localstatedir=/var/lib/locate \ 1.32 $CONFIGURE_ARGS && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make install 1.36 } 1.37 1.38 # Rules to gen a SliTaz package suitable for Tazpkg. 1.39 genpkg_rules() 1.40 { 1.41 - mkdir -p $fs/usr/bin 1.42 - cp -a $install/usr/bin $fs/usr 1.43 - cp -a $install/usr/lib $fs/usr 1.44 + cook_copy_folders bin libexec 1.45 } 1.46 1.47 -# Remove Busybox symlink before installing 1.48 -pre_install() 1.49 -{ 1.50 - rm -f "$1/usr/bin/find" 1.51 - rm -f "$1/usr/bin/xargs" 1.52 -} 1.53 - 1.54 +# Restore Busybox symlinks after removing the package 1.55 post_remove() 1.56 { 1.57 ln -s /bin/busybox /usr/bin/find