# HG changeset patch # User Matthew Sheets # Date 1248177477 0 # Node ID 54bbeb2588e9e18dcd19f00f3a64987a6060d549 # Parent e80aeb98eb5d3c31df1592b76cd0b2af39f4525f Add: lirc diff -r e80aeb98eb5d -r 54bbeb2588e9 lirc-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lirc-dev/receipt Tue Jul 21 11:57:57 2009 +0000 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="lirc-dev" +VERSION="0.8.5" +CATEGORY="development" +SHORT_DESC="lirc devel files." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="" +WEB_SITE="http://www.lirc.org/" +WANTED="lirc" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r e80aeb98eb5d -r 54bbeb2588e9 lirc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lirc/receipt Tue Jul 21 11:57:57 2009 +0000 @@ -0,0 +1,50 @@ +# SliTaz package receipt. + +PACKAGE="lirc" +VERSION="0.8.5" +CATEGORY="utilities" +SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls." +MAINTAINER="rcx@zoominternet.net" +DEPENDS="glibc-base libusb libusb-compat libftdi" +BUILD_DEPENDS="slitaz-toolchain libftdi-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.lirc.org/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ + echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility" + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in + + # lirc_parallel is not SMP safe + echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility" + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in + + ./configure \ + --prefix=/usr \ + --with-x \ + --with-driver=all \ + --with-kerneldir=/usr/src/linux \ + --with-moduledir=/lib/modules/$(uname -r)/kernel/misc \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$src/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + + cp -a $_pkg/dev $fs + cp -a $_pkg/lib $fs +}