wok view dciutil/receipt @ rev 20399
Add code2 (speech codec 0.7-3.2 Kb/s)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 16:09:41 2018 +0200 (2018-06-27) |
parents | b3ac1f049eac |
children | 9dbba587fe4e |
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 sed -i '/linux\/uhid/d' src/usb_util/libusb_reports.c
23 ./autogen.sh
24 ./configure --prefix=/usr \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }