wok view remind/receipt @ rev 9070

wqy-microhei, wqy-bitmapfont: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 15:09:58 2011 +0100 (2011-03-04)
parents ee39027224dd
children 030a90dd8a1f
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 DEPENDS="tk tcl tcllib xorg-libXss"
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }
33 post_install()
34 {
35 # Check for ~/.reminders file - needed for wyrd
36 if [ ! -f $1/home/tux/.reminders ]; then
37 echo -n "Creating config file..."
38 touch $1/home/tux/.reminders
39 chown tux:tux $1/home/tux/.reminders
40 status
41 fi
42 }