wok-next diff anacron/receipt @ rev 21223

updated btrfs-progs again (4.9.1 -> 5.3.1)
author Hans-G?nter Theisgen
date Tue Dec 03 10:21:27 2019 +0100 (2019-12-03)
parents 11b5e93cb5f2
children
line diff
     1.1 --- a/anacron/receipt	Tue Jul 05 15:34:01 2016 +0300
     1.2 +++ b/anacron/receipt	Tue Dec 03 10:21:27 2019 +0100
     1.3 @@ -1,31 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="anacron"
     1.8  VERSION="2.3"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Periodic command scheduler."
    1.11 +SHORT_DESC="Periodic command scheduler"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://anacron.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS=""
    1.20 -BUILD_DEPENDS=""
    1.21 +compile_rules() {
    1.22 +	sed -i 's|usr/man|usr/share/man|' Makefile
    1.23 +	sed -i 's/const int isleap/int isleap/' gregor.c
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	sed -i "s|^PREFIX =.*|PREFIX = $DESTDIR|" Makefile
    1.29 -	sed -i 's/const int isleap/int isleap/' gregor.c
    1.30 -	make 2>&1 | grep -v Makefile:57 && make install
    1.31 -
    1.32 -	mkdir -p $install/usr/share
    1.33 -	mv $install/usr/man $install/usr/share
    1.34 +	make PREFIX=$install &&
    1.35 +	make PREFIX=$install install || return 1
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	cp -a $install/* $fs
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44  }