# HG changeset patch # User Pascal Bellard # Date 1520704740 -3600 # Node ID b3ac1f049eac27c385039c8d36d3b9693298c761 # Parent 71b5b616748b1201e0409290764b0ab9ffaffa44 Add dciutil diff -r 71b5b616748b -r b3ac1f049eac dciutil/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dciutil/receipt Sat Mar 10 18:59:00 2018 +0100 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="dciutil" +VERSION="0.8.6" +CATEGORY="misc" +SHORT_DESC="Query and change Linux monitor settings using DDC/CI and USB" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.ddcutil.com/" +WGET_URL="https://github.com/rockowitz/ddcutil/archive/v$VERSION.tar.gz" + +DEPENDS="glib libusb libdrm xorg-libXrandr libxcb glib zlib" +BUILD_DEPENDS="autoconf automake libtool pkg-config glib-dev libusb-dev \ +python-dev udev-dev xorg-dev xorg-xrandr libdrm-dev file" + +# Rules to configure and make the package. +compile_rules() +{ + find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||' + sed -i 's|grep suse|grep -s suse|' configure* + ./autogen.sh + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +}