wok-6.x view nvclock/receipt @ rev 21309
1) libfm-extra: fix build while using development sources
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 18 17:17:32 2019 +0300 (2019-04-18) |
parents | 164fcaca1cd0 |
children | e6a4cd87fdcb |
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 # Rules to configure and make the package.
17 compile_rules(){
18 [ -d $PACKAGE$VERSION ] && mv $PACKAGE$VERSION $PACKAGE-$VERSION
19 cd $src
20 sed -i 's|prefix}/man|prefix}/share/man|' Makefile*
22 autoreconf
24 patch -Np1 -i $stuff/$PACKAGE-$VERSION-install.patch
25 ./configure --prefix=/usr --bindir=/usr/bin &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/icons/hicolor/48x48/apps/* $fs/usr/share/pixmaps
36 }