wok annotate remind/receipt @ rev 11862

nspr-dev: add nspr-config
author Dominique Corbex <domcox@slitaz.org>
date Mon Feb 27 20:16:10 2012 +0100 (2012-02-27)
parents ee39027224dd
children 030a90dd8a1f
rev   line source
paul@3688 1 # SliTaz package receipt.
paul@3688 2
paul@3688 3 PACKAGE="remind"
paul@7058 4 VERSION="03.01.10"
paul@3688 5 CATEGORY="utilities"
jozee@4972 6 SHORT_DESC="Sophisticated calendar and alarm program."
paul@3688 7 MAINTAINER="paul@slitaz.org"
paul@4369 8 DEPENDS="tk tcl tcllib xorg-libXss"
paul@3688 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3688 10 WEB_SITE="http://www.roaringpenguin.com/products/remind"
paul@3688 11 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
jozee@4972 12 TAGS="office calendar"
paul@3688 13
paul@3688 14 # Rules to configure and make the package.
paul@3688 15 compile_rules()
paul@3688 16 {
paul@3688 17 cd $src
paul@3688 18 ./configure \
paul@3688 19 --prefix=/usr \
paul@3688 20 --infodir=/usr/share/info \
paul@3688 21 --mandir=/usr/share/man \
paul@3688 22 $CONFIGURE_ARGS &&
paul@3688 23 make && make DESTDIR=$PWD/_pkg install
paul@3688 24 }
paul@3688 25
paul@3688 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3688 27 genpkg_rules()
paul@3688 28 {
paul@3688 29 mkdir -p $fs/usr
paul@3688 30 cp -a $_pkg/usr/bin $fs/usr
paul@3688 31 }
paul@3688 32
paul@7827 33 post_install()
paul@7827 34 {
paul@7827 35 # Check for ~/.reminders file - needed for wyrd
paul@7827 36 if [ ! -f $1/home/tux/.reminders ]; then
paul@7827 37 echo -n "Creating config file..."
paul@7827 38 touch $1/home/tux/.reminders
paul@7827 39 chown tux:tux $1/home/tux/.reminders
paul@7827 40 status
paul@7827 41 fi
paul@7827 42 }
paul@7827 43