wok view remind/receipt @ rev 17080

ncmpcpp/receipt, remind/receipt, tiptop/receipt, tmux-mem-cpu-load/receipt: update user config file
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 24 21:21:42 2014 +0200 (2014-08-24)
parents 3b4e4318134e
children ce9cbd90365a
line source
1 # SliTaz package receipt.
3 PACKAGE="remind"
4 VERSION="03.01.10"
5 CATEGORY="utilities"
6 SHORT_DESC="Sophisticated calendar and alarm program."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.roaringpenguin.com/products/remind"
11 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
12 TAGS="office calendar"
14 DEPENDS="tk tcl tcllib xorg-libXss"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }
35 post_install()
36 {
37 # Check for ~/.reminders file - needed for wyrd
38 for i in $(ls $1/home); do
39 [ -f $1/home/$i/.reminders ] && continue
40 echo -n "Creating config file for $i ..."
41 touch $1/home/$i/.reminders
42 chroot $1/ chown $i.users /home/$i/.reminders
43 status
44 done
45 }
47 post_remove()
48 {
49 rm -f $1/home/*/.reminders
50 }