wok diff lirc/receipt @ rev 3717
Add: lirc
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jul 21 11:57:57 2009 +0000 (2009-07-21) |
parents | |
children | 5c6c9ee5f21e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lirc/receipt Tue Jul 21 11:57:57 2009 +0000 1.3 @@ -0,0 +1,50 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lirc" 1.7 +VERSION="0.8.5" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="glibc-base libusb libusb-compat libftdi" 1.12 +BUILD_DEPENDS="slitaz-toolchain libftdi-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.lirc.org/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + 1.22 + # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 1.23 + echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility" 1.24 + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am 1.25 + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in 1.26 + 1.27 + # lirc_parallel is not SMP safe 1.28 + echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility" 1.29 + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am 1.30 + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in 1.31 + 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --with-x \ 1.35 + --with-driver=all \ 1.36 + --with-kerneldir=/usr/src/linux \ 1.37 + --with-moduledir=/lib/modules/$(uname -r)/kernel/misc \ 1.38 + $CONFIGURE_ARGS && 1.39 + make && 1.40 + make DESTDIR=$src/_pkg install 1.41 +} 1.42 + 1.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 +genpkg_rules() 1.45 +{ 1.46 + mkdir -p $fs/usr/lib 1.47 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.48 + cp -a $_pkg/usr/bin $fs/usr 1.49 + cp -a $_pkg/usr/sbin $fs/usr 1.50 + 1.51 + cp -a $_pkg/dev $fs 1.52 + cp -a $_pkg/lib $fs 1.53 +}