wok rev 20245

Add dciutil
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 18:59:00 2018 +0100 (2018-03-10)
parents 71b5b616748b
children 2dd0297f838f
files dciutil/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dciutil/receipt	Sat Mar 10 18:59:00 2018 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dciutil"
     1.7 +VERSION="0.8.6"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Query and change Linux monitor settings using DDC/CI and USB"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.ddcutil.com/"
    1.14 +WGET_URL="https://github.com/rockowitz/ddcutil/archive/v$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="glib libusb libdrm xorg-libXrandr libxcb glib zlib"
    1.17 +BUILD_DEPENDS="autoconf automake libtool pkg-config glib-dev libusb-dev \
    1.18 +python-dev udev-dev xorg-dev xorg-xrandr libdrm-dev file"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
    1.24 +	sed -i 's|grep suse|grep -s suse|' configure*
    1.25 +	./autogen.sh
    1.26 +	./configure --prefix=/usr \
    1.27 +		--mandir=/usr/share/man \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$DESTDIR install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/usr $fs
    1.37 +}