wok view at/receipt @ rev 7856

ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author Liu Peng <rocky@slitaz.org>
date Fri Dec 31 08:55:12 2010 +0000 (2010-12-31)
parents
children 15d500d217fa
line source
1 # SliTaz package receipt.
3 PACKAGE="at"
4 VERSION="3.1.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Schedule commands to be executed once."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
9 WEB_SITE="http://packages.debian.org/lenny/at"
10 WGET_URL="http://ftp.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 --with-daemon_username=nobody \
20 --with-daemon_groupname=nogroup \
21 $CONFIGURE_ARGS &&
22 make &&
23 make IROOT=$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 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/etc $fs
33 cp -a $_pkg/var $fs
34 }