wok-6.x view remind/receipt @ rev 25414
updated wordpress (5.4.1 -> 6.0.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 04 08:44:13 2022 +0100 (2022-08-04) |
parents | 0aa534391a15 |
children | 01119cbefbc3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="remind"
4 VERSION="04.00.01"
5 CATEGORY="utilities"
6 TAGS="office calendar"
7 SHORT_DESC="Sophisticated calendar and alarm program."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://dianne.skoll.ca/projects/remind/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}download/$TARBALL"
15 DEPENDS="gcc83-lib-base tcl tcllib tk xorg-libXss"
16 BUILD_DEPENDS="gcc83"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 CC=gcc-83 \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/etc/skel
43 touch $fs/etc/skel/.reminders
44 cook_copy_folders bin
45 }
47 post_install()
48 {
49 # Check for ~/.reminders file - needed for wyrd
50 nl="\\n"
51 for i in $(ls "$1/home" 2> /dev/null)
52 do
53 [ -f "$1/home/$i/.reminders" ] && continue
54 echo -en "${nl}Creating configuration file for $i ..."
55 touch "$1/home/$i/.reminders"
56 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
57 status
58 done
59 }
61 post_remove()
62 {
63 rm -f "$1"/home/*/.reminders
64 }