wok-6.x view lirc/receipt @ rev 6565
Added mesa, libdrm-dev, xorg-dev-proto, and libxcb-dev to depends of mesa-dev. Fixes pkgconfig --cflags glw from not working in clean chroot.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Oct 08 00:43:28 2010 +0000 (2010-10-08) |
parents | dc0644f601c0 |
children | a145271c0f11 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lirc"
4 VERSION="0.8.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libSM xorg-libICE \
9 xorg-libX11 xorg-libXau xorg-libXdmcp libirman portaudio xorg-libX11"
10 BUILD_DEPENDS="slitaz-toolchain libftdi-dev libirman-dev \
11 libirman libftdi linux-source"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.lirc.org/"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+
22 #echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility"
23 #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am
24 #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in
26 # lirc_parallel is not SMP safe
27 echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility"
28 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am
29 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in
31 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
32 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure
34 ./configure \
35 --prefix=/usr \
36 --with-x \
37 --with-driver=all \
38 --with-kerneldir=/usr/src/linux \
39 --with-moduledir=/lib/modules/$(cat $WOK/linux/receipt | grep ^VERSION | \
40 cut -d "\"" -f 2)/kernel/misc \
41 $CONFIGURE_ARGS &&
42 make &&
43 make DESTDIR=$src/_pkg install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
51 cp -a $_pkg/usr/bin $fs/usr
52 cp -a $_pkg/usr/sbin $fs/usr
54 cp -a $_pkg/dev $fs
55 cp -a $_pkg/lib $fs
56 }