wok-6.x view nvclock/receipt @ rev 14279

Add perl-ipc-run
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 15:25:00 2013 +0200 (2013-04-06)
parents ab72a4d08ed3
children 3765f181a6d5
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"
12 BUILD_DEPENDS="autoconf"
14 # Rules to configure and make the package.
15 compile_rules(){
16 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
17 cd $src
19 autoreconf
21 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch
22 ./configure --prefix=/usr --bindir=/usr/bin &&
23 make -j 1 &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps
33 }