wok-next view lirc/receipt @ rev 20916

libopenraw, abiword: update deps; boost: pack unpacked libs
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 05:42:25 2018 +0300 (2018-08-21)
parents 5841522533ec
children d5aab818505e
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 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="lirc-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=$DESTDIR 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 }