wok-current view nut/receipt @ rev 22274
updated xorg-xf86-video-mga (1.5.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 11:23:34 2019 +0100 (2019-11-13) |
parents | 3ea5f9aab268 |
children | 2a0479881723 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nut"
4 VERSION="2.7.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Network UPS Tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://networkupstools.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/source/${VERSION%.*}/$TARBALL"
13 CONFIG_FILES="/etc/nut.conf /etc/ups.conf /etc/upsd.conf /etc/upsd.users \
14 /etc/upsmon.conf /etc/upssched.conf"
16 DEPENDS="expat libssl libusb libusb-compat libwrap neon zlib"
17 BUILD_DEPENDS="expat-dev libusb-dev libusb-compat-dev libwrap-dev \
18 neon-dev openssl-dev zlib-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --sysconfdir=/etc \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 mkdir -p $fs/etc
39 for i in $install/etc/*.sample
40 do
41 cp -a $i $fs/etc/$(basename $i .sample)
42 done
43 cp -a $install/usr/lib $fs/usr
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/sbin $fs/usr
46 cp $install/usr/share/cmdvartab $fs/usr/share
47 cp $install/usr/share/driver.list $fs/usr/share
48 }