wok-next view lirc/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lirc"
4 VERSION="0.9.4d"
5 CATEGORY="utilities"
6 SHORT_DESC="Enables decoding and sending signals of many commonly used remote \
7 controls"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://www.lirc.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 COOKOPTS="skip-log-errors force-arch" # different .h
17 BUILD_DEPENDS="linux linux-module-headers python libusb-dev libirman-dev \
18 portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \
19 libftdi-dev jack-dev libxslt python3 eudev-dev"
20 SPLIT="$PACKAGE-dev"
22 compile_rules() {
23 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
24 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
26 ./configure \
27 --with-x \
28 --with-driver=all \
29 --with-kerneldir=/usr/src/linux \
30 --with-moduledir=/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc \
31 $CONFIGURE_ARGS &&
32 fix libtool &&
33 make &&
34 make DESTDIR=$install install
35 }
37 genpkg_rules() {
38 case $PACKAGE in
39 lirc)
40 copy @std
41 DEPENDS="glibc-base libusb libusb-compat libftdi libxau \
42 libirman portaudio alsa-lib util-linux-uuid"
43 ;;
44 *-dev)
45 copy @dev
46 ;;
47 esac
48 }