wok-current view dciutil/receipt @ rev 24064
Fix mailsync
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sat Jun 12 11:07:34 2021 +0000 (2021-06-12) | 
| parents | 9dbba587fe4e | 
| children | 2a0479881723 | 
 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 # Rules to configure and make the package.
    19 compile_rules()
    20 {
    21 	find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
    22 	sed -i 's|grep suse|grep -s suse|' \
    23 		configure*
    24 	sed -i '/linux\/uhid/d' \
    25 		src/usb_util/libusb_reports.c
    27 	./configure				\
    28 		--prefix=/usr			\
    29 		--host=i686-pc-linux-gnu	\
    30 		--build=i686-pc-linux-gnu	\
    31 		--mandir=/usr/share/man		\
    32 		$CONFIGURE_ARGS &&
    33 	make &&
    34 	make DESTDIR=$DESTDIR install
    35 }
    37 # Rules to gen a SliTaz package suitable for Tazpkg.
    38 genpkg_rules()
    39 {
    40 	cp -a $install/usr	$fs
    41 }