wok annotate dciutil/receipt @ rev 21996

linux: add ath10k wireless driver
author Richard Dunbar <mojo@slitaz.org>
date Wed Oct 16 21:56:55 2019 -0400 (2019-10-16)
parents 2dd0297f838f
children 84f7eb544a14
rev   line source
pascal@20245 1 # SliTaz package receipt.
pascal@20245 2
pascal@20245 3 PACKAGE="dciutil"
pascal@20245 4 VERSION="0.8.6"
pascal@20245 5 CATEGORY="misc"
pascal@20245 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"
pascal@20245 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20245 10 WEB_SITE="http://www.ddcutil.com/"
pascal@20245 11 WGET_URL="https://github.com/rockowitz/ddcutil/archive/v$VERSION.tar.gz"
pascal@20245 12
pascal@20245 13 DEPENDS="glib libusb libdrm xorg-libXrandr libxcb glib zlib"
pascal@20245 14 BUILD_DEPENDS="autoconf automake libtool pkg-config glib-dev libusb-dev \
pascal@20245 15 python-dev udev-dev xorg-dev xorg-xrandr libdrm-dev file"
pascal@20245 16
pascal@20245 17 # Rules to configure and make the package.
pascal@20245 18 compile_rules()
pascal@20245 19 {
pascal@20245 20 find | grep akefile | xargs sed -i '/+= -Wpedantic/d;s| -Wpedantic||'
pascal@20245 21 sed -i 's|grep suse|grep -s suse|' configure*
pascal@20246 22 sed -i '/linux\/uhid/d' src/usb_util/libusb_reports.c
pascal@20245 23 ./autogen.sh
pascal@20245 24 ./configure --prefix=/usr \
pascal@20560 25 --host=i686-pc-linux-gnu \
pascal@20560 26 --build=i686-pc-linux-gnu \
pascal@20245 27 --mandir=/usr/share/man \
pascal@20245 28 $CONFIGURE_ARGS &&
pascal@20245 29 make &&
pascal@20245 30 make DESTDIR=$DESTDIR install
pascal@20245 31 }
pascal@20245 32
pascal@20245 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20245 34 genpkg_rules()
pascal@20245 35 {
pascal@20245 36 cp -a $install/usr $fs
pascal@20245 37 }