wok-next view lirc/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 5c189fc65a98 |
children | 5669e8b3be70 |
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 BUILD_DEPENDS="linux linux-module-headers python libusb-dev libirman-dev \
16 portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \
17 libftdi-dev jack-dev libxslt python3 eudev-dev"
18 SPLIT="$PACKAGE-dev"
19 COOKOPTS="skip-log-errors"
21 compile_rules() {
22 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
23 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
25 ./configure \
26 --with-x \
27 --with-driver=all \
28 --with-kerneldir=/usr/src/linux \
29 --with-moduledir=/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make DESTDIR=$install install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 lirc)
39 copy @std
40 DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libXau \
41 libirman portaudio alsa-lib util-linux-uuid"
42 ;;
43 *-dev)
44 copy @dev
45 ;;
46 esac
47 }