wok-next rev 3717
Add: lirc
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Tue Jul 21 11:57:57 2009 +0000 (2009-07-21) |
parents | e80aeb98eb5d |
children | 023b4c1e9cee |
files | lirc-dev/receipt lirc/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lirc-dev/receipt Tue Jul 21 11:57:57 2009 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lirc-dev" 1.7 +VERSION="0.8.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="lirc devel files." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="" 1.12 +WEB_SITE="http://www.lirc.org/" 1.13 +WANTED="lirc" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.20 + cp -a $_pkg/usr/include $fs/usr 1.21 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lirc/receipt Tue Jul 21 11:57:57 2009 +0000 2.3 @@ -0,0 +1,50 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="lirc" 2.7 +VERSION="0.8.5" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls." 2.10 +MAINTAINER="rcx@zoominternet.net" 2.11 +DEPENDS="glibc-base libusb libusb-compat libftdi" 2.12 +BUILD_DEPENDS="slitaz-toolchain libftdi-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.lirc.org/" 2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + 2.22 + # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 2.23 + echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility" 2.24 + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am 2.25 + sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in 2.26 + 2.27 + # lirc_parallel is not SMP safe 2.28 + echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility" 2.29 + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am 2.30 + sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in 2.31 + 2.32 + ./configure \ 2.33 + --prefix=/usr \ 2.34 + --with-x \ 2.35 + --with-driver=all \ 2.36 + --with-kerneldir=/usr/src/linux \ 2.37 + --with-moduledir=/lib/modules/$(uname -r)/kernel/misc \ 2.38 + $CONFIGURE_ARGS && 2.39 + make && 2.40 + make DESTDIR=$src/_pkg install 2.41 +} 2.42 + 2.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.44 +genpkg_rules() 2.45 +{ 2.46 + mkdir -p $fs/usr/lib 2.47 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.48 + cp -a $_pkg/usr/bin $fs/usr 2.49 + cp -a $_pkg/usr/sbin $fs/usr 2.50 + 2.51 + cp -a $_pkg/dev $fs 2.52 + cp -a $_pkg/lib $fs 2.53 +}