wok-stable annotate nvclock/receipt @ rev 11226
Add from wok-undigest: nvclock ola ola-dev owfs oxine protobuf protobuf-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 11:10:38 2011 +0100 (2011-11-04) |
parents | |
children | 87d98b449875 |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="nvclock" |
pascal@11226 | 4 VERSION="0.8b4" |
pascal@11226 | 5 CATEGORY="network" |
pascal@11226 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@11226 | 7 SHORT_DESC="A small utility which allows users to overclock NVIDIA based video cards" |
pascal@11226 | 8 WEB_SITE="http://www.linuxhardware.org/nvclock/" |
pascal@11226 | 9 TARBALL="$PACKAGE$VERSION.tar.gz" |
pascal@11226 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@11226 | 11 TAGS="power-management" |
pascal@11226 | 12 |
pascal@11226 | 13 # Rules to configure and make the package. |
pascal@11226 | 14 compile_rules(){ |
pascal@11226 | 15 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION |
pascal@11226 | 16 cd $src |
pascal@11226 | 17 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch |
pascal@11226 | 18 ./configure --prefix=/usr --bindir=/usr/bin && |
pascal@11226 | 19 make -j 1 && |
pascal@11226 | 20 make DESTDIR=$DESTDIR install |
pascal@11226 | 21 } |
pascal@11226 | 22 |
pascal@11226 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 24 genpkg_rules() |
pascal@11226 | 25 { |
pascal@11226 | 26 mkdir -p $fs/usr/share/pixmaps |
pascal@11226 | 27 cp -a $_pkg/usr/bin $fs/usr |
pascal@11226 | 28 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps |
pascal@11226 | 29 } |