wok-next annotate nvclock/receipt @ rev 20898

cookutils: up (1086)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 04:56:32 2018 +0300 (2018-07-21)
parents d43bf7aae921
children d5aab818505e
rev   line source
al@20513 1 # SliTaz package receipt v2.
pascal@11226 2
pascal@11226 3 PACKAGE="nvclock"
pascal@11226 4 VERSION="0.8b4"
pascal@11226 5 CATEGORY="network"
al@20513 6 SHORT_DESC="Small utility which allows users to overclock NVIDIA based video cards"
pascal@11226 7 MAINTAINER="jozee@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pascal@11226 9 WEB_SITE="http://www.linuxhardware.org/nvclock/"
al@20513 10
pascal@11226 11 TARBALL="$PACKAGE$VERSION.tar.gz"
pascal@11226 12 WGET_URL="$WEB_SITE/$TARBALL"
pascal@15584 13
pascal@20113 14 BUILD_DEPENDS="autoconf automake xorg-libX11-dev xorg-libXext-dev"
pascal@11226 15
pascal@11226 16 compile_rules(){
al@20513 17 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
al@20513 18 sed -i 's|prefix}/man|prefix}/share/man|' Makefile*
al@20513 19 autoreconf
gokhlayeh@11576 20
al@20513 21 ./configure \
al@20513 22 --prefix=/usr \
al@20513 23 --bindir=/usr/bin &&
al@20513 24 make -j 1 &&
al@20513 25 make DESTDIR=$DESTDIR install
al@20513 26 }
gokhlayeh@11576 27
al@20513 28 genpkg_rules() {
al@20513 29 copy @std
al@20513 30 TAGS="power-management"
pascal@11226 31 }