wok-6.x diff remind/receipt @ rev 25384

units: added file
author Hans-G?nter Theisgen
date Sat Jul 30 17:32:11 2022 +0100 (2022-07-30)
parents 0aa534391a15
children 01119cbefbc3
line diff
     1.1 --- a/remind/receipt	Mon May 16 10:11:22 2022 +0000
     1.2 +++ b/remind/receipt	Sat Jul 30 17:32:11 2022 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="remind"
     1.7 -VERSION="03.01.16"
     1.8 +VERSION="04.00.01"
     1.9  CATEGORY="utilities"
    1.10 +TAGS="office calendar"
    1.11  SHORT_DESC="Sophisticated calendar and alarm program."
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="https://dianne.skoll.ca/projects/remind/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="https://git.skoll.ca/Skollsoft-Public/Remind/archive/$VERSION.tar.gz"
    1.18 -TAGS="office calendar"
    1.19 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.20  
    1.21 -DEPENDS="tcl tcllib tk xorg-libXss"
    1.22 +DEPENDS="gcc83-lib-base tcl tcllib tk xorg-libXss"
    1.23 +BUILD_DEPENDS="gcc83"
    1.24  
    1.25  # What is the latest version available today?
    1.26  current_version()
    1.27 @@ -25,22 +26,22 @@
    1.28  compile_rules()
    1.29  {
    1.30  	./configure				\
    1.31 +		CC=gcc-83			\
    1.32  		--prefix=/usr			\
    1.33  		--infodir=/usr/share/info	\
    1.34  		--mandir=/usr/share/man		\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37 -	make DESTDIR=$DESTDIR install
    1.38 +	make install DESTDIR=$DESTDIR
    1.39  }
    1.40  
    1.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.42  genpkg_rules()
    1.43  {
    1.44 -	mkdir -p $fs/usr
    1.45  	mkdir -p $fs/etc/skel
    1.46  
    1.47  	touch $fs/etc/skel/.reminders
    1.48 -	cp -a $install/usr/bin $fs/usr
    1.49 +	cook_copy_folders	bin
    1.50  }
    1.51  
    1.52  post_install()
    1.53 @@ -50,8 +51,8 @@
    1.54  	for i in $(ls "$1/home" 2> /dev/null)
    1.55  	  do
    1.56  		[ -f "$1/home/$i/.reminders" ] && continue
    1.57 -		echo -en "${nl}Creating config file for $i ..."
    1.58 -		touch "$1/home/$i/.reminders" 
    1.59 +		echo -en "${nl}Creating configuration file for $i ..."
    1.60 +		touch "$1/home/$i/.reminders"
    1.61  		chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
    1.62  		status
    1.63  	  done
    1.64 @@ -59,5 +60,5 @@
    1.65  
    1.66  post_remove()
    1.67  {
    1.68 -	rm -f "$1"/home/*/.reminders
    1.69 +	rm -f	"$1"/home/*/.reminders
    1.70  }