wok annotate dciutil/receipt @ rev 20474

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