wok-6.x view nvclock/receipt @ rev 11505
wbekit-r: fix build
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 22 13:01:39 2011 +0100 (2011-12-22) |
parents | |
children | 87d98b449875 |
line source
1 # SliTaz package receipt.
3 PACKAGE="nvclock"
4 VERSION="0.8b4"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A small utility which allows users to overclock NVIDIA based video cards"
8 WEB_SITE="http://www.linuxhardware.org/nvclock/"
9 TARBALL="$PACKAGE$VERSION.tar.gz"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 TAGS="power-management"
13 # Rules to configure and make the package.
14 compile_rules(){
15 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
16 cd $src
17 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch
18 ./configure --prefix=/usr --bindir=/usr/bin &&
19 make -j 1 &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/pixmaps
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps
29 }