wok-6.x view remind/receipt @ rev 22122
updated webalizer (2.21-02 -> 2.23.08)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Nov 03 16:24:25 2019 +0100 (2019-11-03) |
parents | 970c5ec9a60a |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
3 PACKAGE="remind"
4 VERSION="03.01.16"
5 CATEGORY="utilities"
6 SHORT_DESC="Sophisticated calendar and alarm program."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://dianne.skoll.ca/projects/remind/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}download/$TARBALL"
13 TAGS="office calendar"
15 DEPENDS="tcl tcllib tk xorg-libXss"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 mkdir -p $fs/etc/skel
35 touch $fs/etc/skel/.reminders
36 cp -a $install/usr/bin $fs/usr
37 }
39 post_install()
40 {
41 # Check for ~/.reminders file - needed for wyrd
42 nl="\\n"
43 for i in $(ls "$1/home" 2> /dev/null)
44 do
45 [ -f "$1/home/$i/.reminders" ] && continue
46 echo -en "${nl}Creating config file for $i ..."
47 touch "$1/home/$i/.reminders"
48 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
49 status
50 done
51 }
53 post_remove()
54 {
55 rm -f "$1"/home/*/.reminders
56 }