wok-next view apcupsd/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 11b5e93cb5f2 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="apcupsd"
4 VERSION="3.14.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="APC UPS Power Management (daemon)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.apcupsd.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libgd-dev"
16 compile_rules() {
17 sed -i 's/src platforms doc/src platforms/' Makefile
18 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \
19 --enable-usb \
20 --disable-snmp \
21 --disable-net \
22 --with-upstype=usb \
23 --with-dev= \
24 --enable-threads \
25 --enable-cgi \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make install || return 1
32 cook_pick_manpages $src/doc/*.5 $src/doc/*.8
33 }
35 genpkg_rules() {
36 copy @std
37 DEPENDS="libgd"
38 }