wok annotate apcupsd/receipt @ rev 19265
Compress manpages.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 10:05:09 2016 +0300 (2016-07-04) |
parents | 617dbdeb6f7e |
children | 11b5e93cb5f2 |
rev | line source |
---|---|
pascal@11216 | 1 # SliTaz package receipt. |
pascal@11216 | 2 |
pascal@11216 | 3 PACKAGE="apcupsd" |
pascal@11216 | 4 VERSION="3.14.9" |
pascal@11216 | 5 CATEGORY="system-tools" |
pascal@11216 | 6 SHORT_DESC="APC UPS Power Management (daemon)" |
pascal@11216 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
pascal@11216 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11216 | 10 WEB_SITE="http://www.apcupsd.com/" |
pascal@11216 | 11 WGET_URL="http://netcologne.dl.sourceforge.net/project/$PACKAGE/$PACKAGE%20-%20Stable/$VERSION/$TARBALL" |
pascal@11216 | 12 |
pascal@15362 | 13 BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd" |
pascal@15362 | 14 |
pascal@11216 | 15 # Rules to configure and make the package. |
pascal@11216 | 16 compile_rules() |
pascal@11216 | 17 { |
pascal@11216 | 18 sed -i 's/src platforms doc/src platforms/' Makefile |
pascal@11216 | 19 SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \ |
pascal@11216 | 20 --enable-usb \ |
pascal@11216 | 21 --disable-snmp \ |
pascal@11216 | 22 --disable-net \ |
pascal@11216 | 23 --with-upstype=usb \ |
pascal@11216 | 24 --with-dev= \ |
pascal@11216 | 25 --enable-threads \ |
pascal@11216 | 26 --enable-cgi \ |
pascal@11216 | 27 --prefix=/usr \ |
pascal@11216 | 28 --infodir=/usr/share/info \ |
pascal@11216 | 29 --mandir=/usr/share/man \ |
pascal@11216 | 30 $CONFIGURE_ARGS && |
pascal@11216 | 31 make && make install |
al@19265 | 32 |
al@19265 | 33 for i in 5 8; do |
al@19265 | 34 mkdir -p $install/usr/share/man/man$i |
al@19265 | 35 cp -a $src/doc/*.$i $install/usr/share/man/man$i |
al@19265 | 36 done |
al@19265 | 37 cook_compress_manpages |
pascal@11216 | 38 } |
pascal@11216 | 39 |
pascal@11216 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11216 | 41 genpkg_rules() |
pascal@11216 | 42 { |
pascal@15362 | 43 cp -a $install/* $fs |
pascal@11216 | 44 } |