wok view dciutil/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (9 months ago)
parents 2a0479881723
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dciutil"
4 VERSION="0.9.8"
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 WEB_SITE="http://www.ddcutil.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}tarballs/ddcutil-$VERSION.tar.gz"
14 DEPENDS="glib libdrm libusb libxcb xorg-libXrandr zlib"
15 BUILD_DEPENDS="file glib-dev libdrm-dev libtool libusb-dev
16 pkg-config python-dev udev-dev xorg-dev xorg-xrandr"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/ddcutil.*release [0-9]/!d;s|.*release ||;s|\.* .*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
29 sed -i 's|grep suse|grep -s suse|' \
30 configure*
31 sed -i '/linux\/uhid/d' \
32 src/usb_util/libusb_reports.c
34 ./configure \
35 --prefix=/usr \
36 --host=i686-pc-linux-gnu \
37 --build=i686-pc-linux-gnu \
38 --mandir=/usr/share/man \
39 $CONFIGURE_ARGS &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 cp -a $install/usr $fs
48 }