wok-current view nut/receipt @ rev 11311

claws-mail: Change DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Nov 14 04:47:39 2011 +0100 (2011-11-14)
parents b95abf5766d0
children 81cc5efd0446
line source
1 # SliTaz package receipt.
3 PACKAGE="nut"
4 VERSION="2.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Network UPS Tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.networkupstools.org/source.html"
10 WGET_URL="http://www.networkupstools.org/source/${VERSION%.*}/$TARBALL"
11 DEPENDS="libusb libusb-compat expat neon zlib libssl libwrap"
12 BUILD_DEPENDS="libusb-dev libusb-compat-dev expat-dev neon-dev zlib-dev \
13 openssl-dev libwrap-dev"
14 CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
15 /etc/upsmon.conf /etc/upssched.conf"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --mandir=/usr/share/man --sysconfdir=/etc \
23 $CONFIGURE_ARGS &&
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/share $fs/etc
32 for i in $_pkg/etc/*.sample ; do
33 cp -a $i $fs/etc/$(basename $i .sample)
34 done
35 cp -a $_pkg/lib $fs
36 cp -a $_pkg/usr/lib $fs/usr
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/sbin $fs/usr
39 cp $_pkg/usr/share/cmdvartab $fs/usr/share
40 cp $_pkg/usr/share/driver.list $fs/usr/share
41 }