# HG changeset patch # User Hans-G?nter Theisgen # Date 1575267764 -3600 # Node ID 7ce0117c87529a129e7e03c24e1acf9f8d0f6d78 # Parent bc2b795b38a8d0da52a40cd7d5a5196c9ddf238a updated acpid (2.0.30 -> 2.0.31) diff -r bc2b795b38a8 -r 7ce0117c8752 acpid/receipt --- a/acpid/receipt Fri Nov 29 17:39:57 2019 +0100 +++ b/acpid/receipt Mon Dec 02 07:22:44 2019 +0100 @@ -1,10 +1,11 @@ # SliTaz package receipt v2. PACKAGE="acpid" -VERSION="2.0.30" +VERSION="2.0.31" CATEGORY="system-tools" +TAGS_std="power-management" SHORT_DESC="The ACPI event daemon with netlink" -MAINTAINER="devel@slitaz.org" +MAINTAINER="maintainer@slitaz.org" LICENSE="GPL2" WEB_SITE="https://sourceforge.net/projects/acpid2/" LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/acpid.html" @@ -12,29 +13,32 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="$SF_MIRROR/acpid2/$TARBALL" -TAGS_std="power-management" SUGGESTED_std="pm-utils" -compile_rules() { +compile_rules() +{ ./configure $CONFIGURE_ARGS && make && make install || return 1 install -dm755 $install/etc/acpi/events - cp -r samples $install/usr/share/doc/$PACKAGE-$VERSION + cp -r samples $install/usr/share/doc/$PACKAGE-$VERSION mkdir -p $install/etc/ - cp -r $stuff/init.d $install/etc/ - cp -r $stuff/acpi $install/etc/ + cp -r $stuff/init.d $install/etc/ + cp -r $stuff/acpi $install/etc/ chmod go-rwx $install/etc/acpi/*.sh chmod go-rwx $install/etc/acpi/events/* } -post_install() { - if [ -z "$1" ]; then +post_install() +{ + if [ -z "$1" ] + then /etc/init.d/acpid start || continue fi - if ! grep -q ^ACPID_OPTIONS "$1/etc/daemons.conf"; then + if ! grep -q ^ACPID_OPTIONS "$1/etc/daemons.conf" + then cat >> "$1/etc/daemons.conf" <