contrib/nvclock/Pkgfile

32 lines
852 B
Plaintext
Raw Normal View History

2007-12-05 10:57:49 +01:00
# Description: Small utility that allows users to overclock NVIDIA based video cards.
# URL: http://www.linuxhardware.org/nvclock/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: Nathan Pardoe, lithium at poolofrandomness dot com
2008-03-14 11:22:37 +01:00
# Depends on: gtk lzma
2007-12-05 10:57:49 +01:00
name=nvclock
version=20071205
release=1
source=(http://romster.shortcircuit.net.au/crux/source/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 -j1
make prefix=$PKG/usr install
rm -r $PKG/usr/share
}