wok-next rev 20193
Up lirc (0.9.4d)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 11:10:36 2017 +0100 (2017-11-03) |
parents | 16082744d27e |
children | 805dd99c3fee |
files | lirc-dev/receipt lirc/receipt |
line diff
1.1 --- a/lirc-dev/receipt Fri Nov 03 03:14:30 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,20 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="lirc-dev" 1.7 -VERSION="0.9.0" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="lirc devel files." 1.10 -MAINTAINER="rcx@zoominternet.net" 1.11 -LICENSE="GPL2" 1.12 -WEB_SITE="http://www.lirc.org/" 1.13 -WANTED="lirc" 1.14 - 1.15 -DEPENDS="lirc" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib 1.21 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.22 - cp -a $install/usr/include $fs/usr 1.23 -}
2.1 --- a/lirc/receipt Fri Nov 03 03:14:30 2017 +0100 2.2 +++ b/lirc/receipt Fri Nov 03 11:10:36 2017 +0100 2.3 @@ -1,7 +1,7 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="lirc" 2.8 -VERSION="0.9.0" 2.9 +VERSION="0.9.4d" 2.10 CATEGORY="utilities" 2.11 SHORT_DESC="Enables decoding and sending signals of many commonly used remote controls." 2.12 MAINTAINER="rcx@zoominternet.net" 2.13 @@ -10,8 +10,6 @@ 2.14 WEB_SITE="http://www.lirc.org/" 2.15 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.16 2.17 -DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libXau libirman \ 2.18 -portaudio alsa-lib util-linux-uuid" 2.19 BUILD_DEPENDS="linux linux-module-headers python libusb-dev libirman-dev \ 2.20 portaudio-dev alsa-lib-dev libusb-compat-dev util-linux-uuid-dev \ 2.21 libftdi-dev jack-dev" 2.22 @@ -19,33 +17,13 @@ 2.23 # Rules to configure and make the package. 2.24 compile_rules() 2.25 { 2.26 - cd $src 2.27 - 2.28 - sed -i '/smp_lock.h/d' drivers/lirc_atiusb/lirc_atiusb.c 2.29 - 2.30 - # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 2.31 - #echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility" 2.32 - #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am 2.33 - #sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in 2.34 - 2.35 - # lirc_parallel is not SMP safe 2.36 - echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility" 2.37 - sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am 2.38 - sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in 2.39 - 2.40 - echo "Disabling build of drivers/lirc_i2c due to kernel 2.6.38+ incompatibility" 2.41 - sed -i -e "s:lirc_i2c\.o::" drivers/lirc_i2c/Makefile.am 2.42 - sed -i -e "s:lirc_i2c\.o::" drivers/lirc_i2c/Makefile.in 2.43 - 2.44 - echo "Disabling build of drivers/lirc_wpc8769l due to kernel incompatibility" 2.45 - sed -i -e "s:lirc_wpc8769l\.o::" drivers/lirc_wpc8769l/Makefile.am 2.46 - sed -i -e "s:lirc_wpc8769l\.o::" drivers/lirc_wpc8769l/Makefile.in 2.47 - 2.48 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 2.49 sed -i "s/uname -r/echo $KERNEL_VERSION-slitaz/g" configure 2.50 2.51 ./configure \ 2.52 --prefix=/usr \ 2.53 + --sysconfdir=/etc \ 2.54 + --localstatedir=/var \ 2.55 --with-x \ 2.56 --with-driver=all \ 2.57 --with-kerneldir=/usr/src/linux \ 2.58 @@ -58,11 +36,26 @@ 2.59 # Rules to gen a SliTaz package suitable for Tazpkg. 2.60 genpkg_rules() 2.61 { 2.62 - mkdir -p $fs/usr/lib 2.63 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.64 - cp -a $install/usr/bin $fs/usr 2.65 - cp -a $install/usr/sbin $fs/usr 2.66 + case $PACKAGE in 2.67 + lirc) 2.68 + DEPENDS="glibc-base libusb libusb-compat libftdi xorg-libXau \ 2.69 + libirman portaudio alsa-lib util-linux-uuid" 2.70 + mkdir -p $fs/usr/lib $fs/usr/share 2.71 + cp -a $install/usr/share/lirc $fs/usr/share 2.72 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.73 + cp -a $install/usr/bin $fs/usr 2.74 + cp -a $install/usr/sbin $fs/usr 2.75 2.76 - cp -a $install/dev $fs 2.77 - cp -a $install/lib $fs 2.78 + cp -a $install/etc $fs 2.79 + cp -a $install/var $fs 2.80 + ;; 2.81 + lirc-dev) 2.82 + CAT="development|lirc devel files." 2.83 + DEPENDS="pkg-config lirc" 2.84 + mkdir -p $fs/usr/lib 2.85 + cp -a $install/usr/lib/*.*a $fs/usr/lib 2.86 + cp -a $install/usr/include $fs/usr 2.87 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.88 + ;; 2.89 + esac 2.90 }