wok-6.x diff acpid/receipt @ rev 22784
updated fsthost (1.4.0 -> 1.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 26 11:14:37 2020 +0100 (2020-01-26) |
parents | 35974beb0c49 |
children | 5f6c5106b1f5 |
line diff
1.1 --- a/acpid/receipt Tue Feb 05 16:25:39 2019 +0100 1.2 +++ b/acpid/receipt Sun Jan 26 11:14:37 2020 +0100 1.3 @@ -1,16 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="acpid" 1.7 -VERSION="2.0.31" 1.8 +VERSION="2.0.32" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="The ACPI event daemon with netlink" 1.11 +TAGS="power-management" 1.12 +SHORT_DESC="The ACPI event daemon with netlink." 1.13 MAINTAINER="domcox@slitaz.org" 1.14 LICENSE="GPL2" 1.15 WEB_SITE="https://sourceforge.net/projects/acpid2/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 WGET_URL="$SF_MIRROR/acpid2/$TARBALL" 1.19 + 1.20 KEY_FILE="key-constants" 1.21 -TAGS="power-management" 1.22 SUGGESTED="pm-utils" 1.23 1.24 # Rules to configure and make the package. 1.25 @@ -25,14 +27,18 @@ 1.26 genpkg_rules() 1.27 { 1.28 mkdir -p $fs/usr 1.29 + 1.30 # acpid 1.31 - cp -a $install/usr/sbin $fs/usr 1.32 + cp -a $install/usr/sbin $fs/usr 1.33 + 1.34 # acpi_listen 1.35 - cp -a $install/usr/bin $fs/usr 1.36 + cp -a $install/usr/bin $fs/usr 1.37 + 1.38 # acpid conf files 1.39 mkdir -p $fs/etc 1.40 - cp -a $stuff/init.d $fs/etc/ 1.41 - cp -a $stuff/acpi $fs/etc/ 1.42 + 1.43 + cp -a $stuff/init.d $fs/etc/ 1.44 + cp -a $stuff/acpi $fs/etc/ 1.45 chmod go-rwx $fs/etc/acpi/*.sh 1.46 chmod go-rwx $fs/etc/acpi/events/* 1.47 } 1.48 @@ -40,19 +46,22 @@ 1.49 # Pre and post remove commands for Tazpkg 1.50 post_install() 1.51 { 1.52 - if [ -z "$1" ]; then 1.53 + if [ -z "$1" ] 1.54 + then 1.55 /etc/init.d/acpid start || continue 1.56 fi 1.57 - if ! grep -q ^ACPID_OPTIONS "$1/etc/daemons.conf"; then 1.58 + if ! grep -q ^ACPID_OPTIONS "$1/etc/daemons.conf" 1.59 + then 1.60 echo '# ACPI daemon options.' >> "$1/etc/daemons.conf" 1.61 echo 'ACPID_OPTIONS=""' >> "$1/etc/daemons.conf" 1.62 echo '' >> "$1/etc/daemons.conf" 1.63 fi 1.64 -} 1.65 +} 1.66 1.67 pre_remove() 1.68 { 1.69 - if [ -z "$1" ]; then 1.70 + if [ -z "$1" ] 1.71 + then 1.72 /etc/init.d/acpid stop 1.73 fi 1.74 }