wok rev 17694

Add radeontool
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 24 08:59:20 2015 +0100 (2015-02-24)
parents a5192a6e0733
children acbbbf3f4e52
files nagisk/receipt radeontool/receipt
line diff
     1.1 --- a/nagisk/receipt	Mon Feb 23 04:23:26 2015 -0500
     1.2 +++ b/nagisk/receipt	Tue Feb 24 08:59:20 2015 +0100
     1.3 @@ -40,9 +40,9 @@
     1.4  #command[check_asterisk_pri_spans]=/usr/share/nagios/libexec/nagisk.pl -c pri_spans
     1.5  command[check_asterisk_registry]=/usr/share/nagios/libexec/nagisk.pl -c registry
     1.6  EOT
     1.7 -	grep '^nagios ALL= NOPASSWD' $1/etc/sudoers | grep -q asterisk ||
     1.8 +	grep '^nagios ALL=NOPASSWD' $1/etc/sudoers | grep -q asterisk ||
     1.9  	cat >> $1/etc/sudoers <<EOT
    1.10 -nagios ALL= NOPASSWD: /usr/sbin/asterisk
    1.11 +nagios ALL=NOPASSWD: /usr/sbin/asterisk
    1.12  EOT
    1.13  	chown nagios:nagios $1/usr/share/nagios/libexec/nagisk.pl
    1.14  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/radeontool/receipt	Tue Feb 24 08:59:20 2015 +0100
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="radeontool"
     2.7 +VERSION="1.6.3"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Utility to control ATI Radeon backlight functions on laptops."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="zlib/libpng"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://anonscm.debian.org/cgit/collab-maint/radeontool.git"
    2.14 +WGET_URL="http://people.freedesktop.org/~airlied/$PACKAGE/$TARBALL"
    2.15 +
    2.16 +DEPENDS="xorg-libpciaccess"
    2.17 +BUILD_DEPENDS="pkg-config xorg-libpciaccess-dev"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	./configure --prefix=/usr \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	cp -a $install/* $fs/
    2.32 +}