wok view dciutil/receipt @ rev 21708
djmount: added automake to BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 07 16:30:45 2019 +0100 (2019-06-07) |
parents | 2dd0297f838f |
children | 84f7eb544a14 |
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 --host=i686-pc-linux-gnu \
26 --build=i686-pc-linux-gnu \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr $fs
37 }