wok-6.x view nvclock/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | e6a4cd87fdcb |
children |
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 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/${PACKAGE}[0-9]/!d;/tar/!d;s|.*${PACKAGE}\\(.*\\).tar..*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|prefix}/man|prefix}/share/man|' Makefile*
28 autoreconf
30 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch
31 ./configure --prefix=/usr --bindir=/usr/bin &&
32 make -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share/pixmaps
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps
42 }