diff options
Diffstat (limited to 'abs/extra-testing/community/athcool')
-rw-r--r-- | abs/extra-testing/community/athcool/PKGBUILD | 24 | ||||
-rw-r--r-- | abs/extra-testing/community/athcool/athcool | 35 | ||||
-rw-r--r-- | abs/extra-testing/community/athcool/athcool.install | 18 | ||||
-rwxr-xr-x | abs/extra-testing/community/athcool/finish | 3 | ||||
-rw-r--r-- | abs/extra-testing/community/athcool/run | 2 |
5 files changed, 0 insertions, 82 deletions
diff --git a/abs/extra-testing/community/athcool/PKGBUILD b/abs/extra-testing/community/athcool/PKGBUILD deleted file mode 100644 index c5a3290..0000000 --- a/abs/extra-testing/community/athcool/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -pkgname=athcool -pkgver=0.3.12 -pkgrel=3 -pkgdesc="Small utility allowing to enable powersaving mode on AMD Duron/Athlon/Athlon XP processors." -url="http://members.jcom.home.ne.jp/jacobi/linux/softwares.html" -depends=(pciutils) -license="GPL" -install=athcool.install -arch=(i686) -source=(http://members.jcom.home.ne.jp/jacobi/linux/files/$pkgname-$pkgver.tar.gz -athcool run finish) -md5sums=('f2e0f4fbd04f5e1f09aa60a3ecb24645' - 'bbf32484cec6431568ccf51c2516f9e7' - 'b9cf31ac580c1665d50d70e405d276bc') - -build() { - cd $startdir/src/$pkgname-$pkgver - make || return 1 - make DESTDIR=$startdir/pkg install - /bin/install -D -m0755 ../athcool $startdir/pkg/etc/rc.d/athcool - mkdir -p $pkgdir/etc/sv/athcool/supervise - install -D -m0755 ../run $pkgdir/etc/sv/athcool - install -D -m0755 ../finish $pkgdir/etc/sv/athcool -} diff --git a/abs/extra-testing/community/athcool/athcool b/abs/extra-testing/community/athcool/athcool deleted file mode 100644 index f49bd40..0000000 --- a/abs/extra-testing/community/athcool/athcool +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -ATHCOOL=/usr/sbin/athcool - -case "$1" in - start) - stat_busy "Enabling Athcool" - $ATHCOOL on > /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - stop) - stat_busy "Disabling Athcool" - $ATHCOOL off > /dev/null - if [ $? -gt 0 ]; then - stat_fail - else - stat_done - fi - ;; - restart) - $0 stop - /bin/sleep 1 - $0 start - ;; - *) - echo "Usage: $0 {start|stop|restart}" -esac -exit 0 diff --git a/abs/extra-testing/community/athcool/athcool.install b/abs/extra-testing/community/athcool/athcool.install deleted file mode 100644 index 8896da2..0000000 --- a/abs/extra-testing/community/athcool/athcool.install +++ /dev/null @@ -1,18 +0,0 @@ -# arg 1: the new package version -post_install() { - add_service.sh athcool -} -# arg 1: the new package version -# arg 2: the old package version -post_upgrade() { - /bin/true -} - -# arg 1: the old package version -post_remove() { - remove_service.sh athcool -} - -op=$1 -shift -$op $* diff --git a/abs/extra-testing/community/athcool/finish b/abs/extra-testing/community/athcool/finish deleted file mode 100755 index cae6b1b..0000000 --- a/abs/extra-testing/community/athcool/finish +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -exec 2>&1 -sv down athcool diff --git a/abs/extra-testing/community/athcool/run b/abs/extra-testing/community/athcool/run deleted file mode 100644 index b43936c..0000000 --- a/abs/extra-testing/community/athcool/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec /usr/sbin/athcool on 2>&1 |