wok-6.x view lirc/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | e778f0bd40a4 |
children | 97c8c89c2212 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lirc"
4 VERSION="0.9.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.lirc.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libXau libirman \
13 portaudio alsa-lib util-linux-uuid"
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-audio-connection-kit-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+
24 #echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility"
25 #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
26 #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in
28 # lirc_parallel is not SMP safe
29 echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility"
30 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
31 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in
33 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
34 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
36 ./configure \
37 --prefix=/usr \
38 --with-x \
39 --with-driver=all \
40 --with-kerneldir=/usr/src/linux \
41 --with-moduledir=/lib/modules/$KERNEL_VERSION-slitaz/kernel/misc \
42 $CONFIGURE_ARGS &&
43 make | sed s/ERROR/Error/ &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib
51 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
52 cp -a $_pkg/usr/bin $fs/usr
53 cp -a $_pkg/usr/sbin $fs/usr
55 cp -a $_pkg/dev $fs
56 cp -a $_pkg/lib $fs
57 }