wok view nvclock/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (2022-09-23) |
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 }