wok view nvclock/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
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 }