wok annotate nvclock/receipt @ rev 25063
nfs-utils: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 20:10:22 2022 +0000 (2022-06-07) |
parents | e6a4cd87fdcb |
children |
rev | line source |
---|---|
pascal@11226 | 1 # SliTaz package receipt. |
pascal@11226 | 2 |
pascal@11226 | 3 PACKAGE="nvclock" |
pascal@11226 | 4 VERSION="0.8b4" |
pascal@11226 | 5 CATEGORY="network" |
pascal@11226 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15584 | 7 LICENSE="GPL2" |
pascal@11226 | 8 SHORT_DESC="A small utility which allows users to overclock NVIDIA based video cards" |
pascal@11226 | 9 WEB_SITE="http://www.linuxhardware.org/nvclock/" |
pascal@11226 | 10 TARBALL="$PACKAGE$VERSION.tar.gz" |
pascal@11226 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@11226 | 12 TAGS="power-management" |
pascal@15584 | 13 |
pascal@15587 | 14 BUILD_DEPENDS="autoconf automake" |
pascal@11226 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24433 | 20 sed "/latest/d;/${PACKAGE}[0-9]/!d;/tar/!d;s|.*${PACKAGE}\\(.*\\).tar..*|\\1|" | sort -Vr | sed q |
pascal@24433 | 21 } |
pascal@24433 | 22 |
pascal@11226 | 23 # Rules to configure and make the package. |
pascal@21922 | 24 compile_rules() |
pascal@21922 | 25 { |
pascal@21922 | 26 sed -i 's|prefix}/man|prefix}/share/man|' Makefile* |
gokhlayeh@11576 | 27 |
gokhlayeh@11576 | 28 autoreconf |
gokhlayeh@11576 | 29 |
pascal@21922 | 30 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch |
pascal@21922 | 31 ./configure --prefix=/usr --bindir=/usr/bin && |
pascal@21922 | 32 make -j 1 && |
pascal@21922 | 33 make DESTDIR=$DESTDIR install |
pascal@11226 | 34 } |
pascal@11226 | 35 |
pascal@11226 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 37 genpkg_rules() |
pascal@11226 | 38 { |
pascal@11226 | 39 mkdir -p $fs/usr/share/pixmaps |
pascal@15584 | 40 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 41 cp -a $install/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps |
pascal@11226 | 42 } |