diff options
author | davidovski <david@davidovski.xyz> | 2022-02-06 14:45:21 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-06 14:45:21 +0000 |
commit | 9f85b0878f307141bd5ca57a0e3500409219115c (patch) | |
tree | 63d55ae2b156a99b168b5f6b4e8e871a45823e8e /repo/util/acpi.xibuild | |
parent | 31723b3943baa14269be93abcb03e1ffe44a3407 (diff) |
made changes to acpid
Diffstat (limited to 'repo/util/acpi.xibuild')
-rw-r--r-- | repo/util/acpi.xibuild | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/repo/util/acpi.xibuild b/repo/util/acpi.xibuild index ff720a4..c09792d 100644 --- a/repo/util/acpi.xibuild +++ b/repo/util/acpi.xibuild @@ -1,29 +1,17 @@ #!/bin/bash MAKEDEPS=(make) -DEPS=(glibc) +DEPS=(glibc acpid) -PKG_VER=2.0.33 -SOURCE=https://downloads.sourceforge.net/acpid2/acpid-$PKG_VER.tar.xz +PKG_VER=1.7 +SOURCE=https://downloads.sourceforge.net/acpiclient/acpi-$PKG_VER.tar.gz DESC="Client for battery, power, and thermal readings" -BOOTSCRIPTS=blfs-bootscripts-20210826 -ADDITIONAL=( - https://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$BOOTSCRIPTS.tar.xz - ) - build () { - ./configure --prefix=/usr \ - --docdir=/usr/share/doc/acpid-$PKG_VER && + ./configure --prefix=/usr make } package () { - make DESTDIR=$PKG_DEST install - install -v -m755 -d $PKG_DEST/etc/acpi/events && - cp -r samples $PKG_DEST/usr/share/doc/acpid-$PKG_VER - - tar xf $BOOTSCRIPTS.tar.xz - cd $BOOTSCRIPTS - make DESTDIR=$PKG_DEST install-acpid + make -C "acpi-$PKG_VER" DESTDIR"=$PKG_DEST" install } |