Receipt for package "laptop-mode-tools"
# SliTaz package receipt. PACKAGE="laptop-mode-tools" VERSION="1.74" CATEGORY="system-tools" SHORT_DESC="Laptop ACPI tools." MAINTAINER="lufeng369@slitaz.org" LICENSE="GPL2" WEB_SITE="https://github.com/rickysarraf/laptop-mode-tools" TARBALL="${PACKAGE}_$VERSION.tar.gz" WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL" DEPENDS="acpid hdparm python util-linux-flock util-linux-blockdev" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|/usr/man|/usr/share/man|' \ install.sh make install \ DESTDIR=$DESTDIR \ INIT_D=none } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/etc/init.d mkdir -p $fs/lib mkdir -p $fs/usr/share cp -a $install/usr/sbin $fs/usr/ cp -a $stuff/laptop-mode.sh $fs/etc/init.d/ cp -a $install/etc/acpi $fs/etc/ cp -a $install/etc/apm $fs/etc/ cp -a $install/etc/laptop-mode $fs/etc/ cp -a $install/etc/power $fs/etc/ cp -a $install/lib/udev $fs/lib/ cp -a $install/usr/lib/ $fs/usr/ cp -a $install/usr/share/pixmaps $fs/usr/share/ }
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)