32 lines
850 B
Plaintext
32 lines
850 B
Plaintext
# Description: Small utility that allows users to overclock NVIDIA based video cards.
|
|
# URL: http://www.linuxhardware.org/nvclock/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Nathan Pardoe, lithium at poolofrandomness dot com
|
|
# Depends on: gtk lzma
|
|
|
|
name=nvclock
|
|
version=20071205
|
|
release=1
|
|
source=(ftp://romster.dyndns.org/linux/source/nvclock/nvclock-snapshot-$version.tar.lzma)
|
|
#source=(http://www.linuxhardware.org/nvclock/nvclock$version.tar.gz)
|
|
|
|
build() {
|
|
# temp fix untill/if pkgutils supports lzma
|
|
if [ -e $SRC/$name-snapshot-$version.tar.lzma ]; then
|
|
tar --use-compress-program=lzma -xf $name-snapshot-$version.tar.lzma
|
|
rm $name-snapshot-$version.tar.lzma
|
|
fi
|
|
|
|
cd nvclock
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-qt \
|
|
--with-x
|
|
|
|
make -j 1
|
|
make prefix=$PKG/usr install
|
|
rm -r $PKG/usr/share
|
|
}
|
|
|