wok-next view lirc/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | 1eb4aacb48ed |
children | 5841522533ec |
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="rcx@zoominternet.net"
9 LICENSE="GPL2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lirc.org/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="linux linux-module-headers python libusb-dev libirman-dev \
15 portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \
16 libftdi-dev jack-dev libxslt python3 udev-dev"
17 SPLIT="lirc-dev"
19 compile_rules() {
20 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
21 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
23 ./configure \
24 --with-x \
25 --with-driver=all \
26 --with-kerneldir=/usr/src/linux \
27 --with-moduledir=/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc \
28 $CONFIGURE_ARGS &&
29 make 2>&1 | sed 's/ERROR/Error/;/lirc_dev\/Module/d' &&
30 make DESTDIR=$DESTDIR install 2>&1 | sed '/depmod:/d'
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 lirc)
36 copy @std
37 DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libXau \
38 libirman portaudio alsa-lib util-linux-uuid"
39 ;;
40 *-dev)
41 copy @dev
42 ;;
43 esac
44 }