wok rev 22636

updated dciutil (0.8.6 -> 0.9.8)
author Hans-G?nter Theisgen
date Mon Jan 13 16:25:30 2020 +0100 (2020-01-13)
parents f8e190dcc90f
children 7deb257e1d83
files dciutil/receipt
line diff
     1.1 --- a/dciutil/receipt	Mon Jan 13 14:20:02 2020 +0100
     1.2 +++ b/dciutil/receipt	Mon Jan 13 16:25:30 2020 +0100
     1.3 @@ -1,30 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dciutil"
     1.7 -VERSION="0.8.6"
     1.8 +VERSION="0.9.8"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="Query and change Linux monitor settings using DDC/CI and USB"
    1.11 +SHORT_DESC="Query and change Linux monitor settings using DDC/CI and USB."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.ddcutil.com/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.ddcutil.com/"
    1.18 -WGET_URL="https://github.com/rockowitz/ddcutil/archive/v$VERSION.tar.gz"
    1.19 +WGET_URL="${WEB_SITE}tarballs/ddcutil-$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="glib libusb libdrm xorg-libXrandr libxcb glib zlib"
    1.22 -BUILD_DEPENDS="autoconf automake libtool pkg-config glib-dev libusb-dev \
    1.23 -python-dev udev-dev xorg-dev xorg-xrandr libdrm-dev file"
    1.24 +DEPENDS="glib libdrm libusb libxcb xorg-libXrandr zlib"
    1.25 +BUILD_DEPENDS="file glib-dev libdrm-dev libtool libusb-dev 
    1.26 +	pkg-config python-dev udev-dev xorg-dev xorg-xrandr"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31  	find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
    1.32 -	sed -i 's|grep suse|grep -s suse|' configure*
    1.33 -	sed -i '/linux\/uhid/d' src/usb_util/libusb_reports.c
    1.34 -	./autogen.sh
    1.35 -	./configure --prefix=/usr \
    1.36 -		--host=i686-pc-linux-gnu \
    1.37 -		--build=i686-pc-linux-gnu \
    1.38 -		--mandir=/usr/share/man \
    1.39 +	sed -i 's|grep suse|grep -s suse|' \
    1.40 +		configure*
    1.41 +	sed -i '/linux\/uhid/d' \
    1.42 +		src/usb_util/libusb_reports.c
    1.43 +
    1.44 +	./configure				\
    1.45 +		--prefix=/usr			\
    1.46 +		--host=i686-pc-linux-gnu	\
    1.47 +		--build=i686-pc-linux-gnu	\
    1.48 +		--mandir=/usr/share/man		\
    1.49  		$CONFIGURE_ARGS &&
    1.50  	make &&
    1.51  	make DESTDIR=$DESTDIR install
    1.52 @@ -33,5 +37,5 @@
    1.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.54  genpkg_rules()
    1.55  {
    1.56 -	cp -a $install/usr $fs
    1.57 +	cp -a $install/usr	$fs
    1.58  }