wok-undigest view at/receipt @ rev 152
Move cpufrequtils to wok
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Sun Jun 27 02:51:04 2010 +0200 (2010-06-27) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.10ubuntu4"
5 CATEGORY="base-system"
6 SHORT_DESC="Delayed job execution and batch processing."
7 MAINTAINER="l.lemarinel@gmail.com"
8 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
9 WGET_URL="http://archive.ubuntu.com/ubuntu/pool/main/a/at/$TARBALL"
10 BUILD_DEPENDS="bison flex-dev flex"
11 DEPENDS=""
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 export SENDMAIL=/bin/true
17 cd $src
18 ./configure --with-daemon_username=root \
19 --with-daemon_groupname=root \
20 --with-jobdir=/var/spool/cron/atjobs \
21 --with-atspool=/var/spool/cron/atspool \
22 --without-pam --bindir=$PWD/_pkg/usr/bin \
23 --sbindir=$PWD/_pkg/usr/bin --prefix=$PWD/_pkg/usr
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }
35 #Post install actions :
36 post_install()
37 {
38 mkdir -m 755 -p /var/spool/cron/atspool /var/spool/cron/atjobs
39 chmod 1770 /var/spool/cron/atspool /var/spool/cron/atjobs
40 touch /var/spool/cron/atjobs/.SEQ
41 chmod 600 /var/spool/cron/atjobs/.SEQ
42 chown root:root /var/spool/cron/atjobs/.SEQ
43 touch /etc/at.deny
44 touch /etc/at.allow
45 chmod 640 /etc/at.deny /etc/at.allow
46 ln -s -f at /usr/bin/atq
47 ln -s -f at /usr/bin/atrm
48 }