wok annotate nvclock/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | 164fcaca1cd0 |
children | e6a4cd87fdcb |
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@11226 | 16 # Rules to configure and make the package. |
pascal@11226 | 17 compile_rules(){ |
pascal@11226 | 18 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION |
pascal@11226 | 19 cd $src |
pascal@19292 | 20 sed -i 's|prefix}/man|prefix}/share/man|' Makefile* |
gokhlayeh@11576 | 21 |
gokhlayeh@11576 | 22 autoreconf |
gokhlayeh@11576 | 23 |
pascal@11226 | 24 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch |
pascal@11226 | 25 ./configure --prefix=/usr --bindir=/usr/bin && |
pascal@11226 | 26 make -j 1 && |
pascal@11226 | 27 make DESTDIR=$DESTDIR install |
pascal@11226 | 28 } |
pascal@11226 | 29 |
pascal@11226 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11226 | 31 genpkg_rules() |
pascal@11226 | 32 { |
pascal@11226 | 33 mkdir -p $fs/usr/share/pixmaps |
pascal@15584 | 34 cp -a $install/usr/bin $fs/usr |
pascal@15584 | 35 cp -a $install/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps |
pascal@11226 | 36 } |