wok-current annotate dciutil/receipt @ rev 24017
tuxpaint: no parallel make
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 27 15:07:25 2021 +0100 (2021-02-27) |
parents | 9dbba587fe4e |
children | 2a0479881723 |
rev | line source |
---|---|
pascal@20245 | 1 # SliTaz package receipt. |
pascal@20245 | 2 |
pascal@20245 | 3 PACKAGE="dciutil" |
Hans-G?nter@22636 | 4 VERSION="0.9.8" |
pascal@20245 | 5 CATEGORY="misc" |
Hans-G?nter@22636 | 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" |
Hans-G?nter@22636 | 9 WEB_SITE="http://www.ddcutil.com/" |
Hans-G?nter@22636 | 10 |
pascal@20245 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22636 | 12 WGET_URL="${WEB_SITE}tarballs/ddcutil-$VERSION.tar.gz" |
pascal@20245 | 13 |
Hans-G?nter@22636 | 14 DEPENDS="glib libdrm libusb libxcb xorg-libXrandr zlib" |
Hans-G?nter@22636 | 15 BUILD_DEPENDS="file glib-dev libdrm-dev libtool libusb-dev |
Hans-G?nter@22636 | 16 pkg-config python-dev udev-dev xorg-dev xorg-xrandr" |
pascal@20245 | 17 |
pascal@20245 | 18 # Rules to configure and make the package. |
pascal@20245 | 19 compile_rules() |
pascal@20245 | 20 { |
pascal@20245 | 21 find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||' |
Hans-G?nter@22636 | 22 sed -i 's|grep suse|grep -s suse|' \ |
Hans-G?nter@22636 | 23 configure* |
Hans-G?nter@22636 | 24 sed -i '/linux\/uhid/d' \ |
Hans-G?nter@22636 | 25 src/usb_util/libusb_reports.c |
Hans-G?nter@22636 | 26 |
Hans-G?nter@22636 | 27 ./configure \ |
Hans-G?nter@22636 | 28 --prefix=/usr \ |
Hans-G?nter@22636 | 29 --host=i686-pc-linux-gnu \ |
Hans-G?nter@22636 | 30 --build=i686-pc-linux-gnu \ |
Hans-G?nter@22636 | 31 --mandir=/usr/share/man \ |
pascal@20245 | 32 $CONFIGURE_ARGS && |
pascal@20245 | 33 make && |
pascal@20245 | 34 make DESTDIR=$DESTDIR install |
pascal@20245 | 35 } |
pascal@20245 | 36 |
pascal@20245 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20245 | 38 genpkg_rules() |
pascal@20245 | 39 { |
Hans-G?nter@22636 | 40 cp -a $install/usr $fs |
pascal@20245 | 41 } |