Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=e467fa35602b49781dc3b65e69df83b8b8945398
commit e467fa35602b49781dc3b65e69df83b8b8945398 Author: James Buren <[email protected]> Date: Sat Nov 10 06:23:22 2012 -0600 tpc-0.43-2-x86_64 * remove package diff --git a/source/apps-extra/tpc/FrugalBuild b/source/apps-extra/tpc/FrugalBuild deleted file mode 100644 index 96fc827..0000000 --- a/source/apps-extra/tpc/FrugalBuild +++ /dev/null @@ -1,43 +0,0 @@ -# Compiling Time: 0 SBU -# Maintainer: James Buren <[email protected]> - -pkgname=tpc -pkgver=0.43 -pkgrel=2 -pkgdesc="A utility for configuring AMD processors from 10h, 11h, 12h, 14h, and 15h families." -url="http://amdath800.dyndns.org/amd/" -depends=('libstdc++') -conflicts=('phc' 'phc-k8' 'phc-intel') -rodepends=('pm-utils' 'cpupower') -groups=('apps-extra') -archs=('i686' 'x86_64') -up2date="Flasttar $url" -source=($url/$pkgname/$pkgname-$pkgver.tar.gz README.Frugalware $pkgname{.sleep,.service,.sh,}) -backup=(etc/sysconfig/$pkgname) -sha1sums=('e633a1c2e276df8d1b779d997ee22d9867a722e3' \ - '1adbc047c3e4e99827e3027ebe3a15e9c4e284f5' \ - 'cebdf4877770aca2d8a85fb48aba5bd6a1d6465e' \ - 'a9f56f2d9aaa192d1964465a0ed5ea5e202b6443' \ - '7279b581f2ef7e027fbed0df07f5ea7485f13dc8' \ - 'b4099074a8d9529ac84357db733063e3899f838c') -_F_cd_path="." -_F_systemd_units=(tpc=) -Finclude systemd - -build() -{ - if [ "$CARCH" = "i686" ]; then - Fsed "-O2" "-D_FILE_OFFSET_BITS=64 -O2" src/Makefile - fi - Fsed "-O2" "$CFLAGS" src/Makefile - make -C src || Fdie - Fexe src/TurionPowerControl /usr/sbin/tpc - Fdoc doc/readme.{odt,pdf} - Fexe $pkgname.sleep /usr/lib/pm-utils/sleep.d/96$pkgname - Fexe /usr/sbin/$pkgname.sh - Ffile /etc/sysconfig/$pkgname - Ffile /lib/systemd/system/$pkgname.service - Fgenscriptlet -} - -# optimization OK diff --git a/source/apps-extra/tpc/README.Frugalware b/source/apps-extra/tpc/README.Frugalware deleted file mode 100644 index b2b4f8b..0000000 --- a/source/apps-extra/tpc/README.Frugalware +++ /dev/null @@ -1,18 +0,0 @@ -Before using this package, it is recommended that you setup the `cpupower` -package so that you can get the maximum benefit from this package. After -you have done this, come back to this documentation. - -Read the documentation included for this package under `/usr/share/doc`. Now, -edit `/etc/sysconfig/tpc`. It should include any arguments you wish to pass -to tpc at startup. - -Now, you will want to enable the systemd service so tpc will be run at startup. -Use this command to do this and start it now. - ----- -systemctl enable tpc.service -systemctl start tpc.service ----- - -And you're done. In the event of system instability, you will want to modify the -settings you have given to tpc. diff --git a/source/apps-extra/tpc/tpc b/source/apps-extra/tpc/tpc deleted file mode 100644 index afede3b..0000000 --- a/source/apps-extra/tpc/tpc +++ /dev/null @@ -1,10 +0,0 @@ -#add_argument "-set" -#add_argument "pstate 0 voltage 1.1875" -#add_argument "pstate 1 voltage 1.1500" -#add_argument "pstate 2 voltage 1.1000" -#add_argument "pstate 3 voltage 1.0500" -#add_argument "pstate 4 voltage 1.0000" -#add_argument "pstate 5 voltage 0.9375" -#add_argument "pstate 6 voltage 0.8750" -#add_argument "pstate 7 voltage 0.8000" -#add_argument "-altvid 60" diff --git a/source/apps-extra/tpc/tpc.service b/source/apps-extra/tpc/tpc.service deleted file mode 100644 index 9127a3c..0000000 --- a/source/apps-extra/tpc/tpc.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Apply tpc configuration -After=cpupower.service - -[Service] -ExecStart=/usr/sbin/tpc.sh -Type=oneshot -StandardOutput=syslog -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/source/apps-extra/tpc/tpc.sh b/source/apps-extra/tpc/tpc.sh deleted file mode 100644 index 37f502d..0000000 --- a/source/apps-extra/tpc/tpc.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -add_argument() -{ - if [ -z "$ARGS" ]; then - ARGS="$1" - else - ARGS="$ARGS $1" - fi -} - -modprobe cpuid -modprobe msr - -source /etc/sysconfig/tpc - -exec tpc $ARGS diff --git a/source/apps-extra/tpc/tpc.sleep b/source/apps-extra/tpc/tpc.sleep deleted file mode 100644 index cdd1e4f..0000000 --- a/source/apps-extra/tpc/tpc.sleep +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -case $1 in - resume|thaw) - /usr/sbin/tpc.sh - ;; - *) - ;; -esac _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
