wok view nvclock/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 3765f181a6d5
children 8a74e7b0ff7f
line source
1 # SliTaz package receipt.
3 PACKAGE="nvclock"
4 VERSION="0.8b4"
5 CATEGORY="network"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A small utility which allows users to overclock NVIDIA based video cards"
9 WEB_SITE="http://www.linuxhardware.org/nvclock/"
10 TARBALL="$PACKAGE$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="power-management"
14 BUILD_DEPENDS="autoconf automake"
16 # Rules to configure and make the package.
17 compile_rules(){
18 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
19 cd $src
21 autoreconf
23 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch
24 ./configure --prefix=/usr --bindir=/usr/bin &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps
35 }