wok view dciutil/receipt @ rev 20245

Add dciutil
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 18:59:00 2018 +0100 (2018-03-10)
parents
children 2dd0297f838f
line source
1 # SliTaz package receipt.
3 PACKAGE="dciutil"
4 VERSION="0.8.6"
5 CATEGORY="misc"
6 SHORT_DESC="Query and change Linux monitor settings using DDC/CI and USB"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ddcutil.com/"
11 WGET_URL="https://github.com/rockowitz/ddcutil/archive/v$VERSION.tar.gz"
13 DEPENDS="glib libusb libdrm xorg-libXrandr libxcb glib zlib"
14 BUILD_DEPENDS="autoconf automake libtool pkg-config glib-dev libusb-dev \
15 python-dev udev-dev xorg-dev xorg-xrandr libdrm-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
21 sed -i 's|grep suse|grep -s suse|' configure*
22 ./autogen.sh
23 ./configure --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }