# HG changeset patch # User Rohit Joshi # Date 1260451683 0 # Node ID e640f3ab5830500387c30da8c830d98fd00ea00d # Parent af5f033d754ff73b4b72c73f82e1a8c9544b813b Add linmodem-intel536ep diff -r af5f033d754f -r e640f3ab5830 linmodem-intel-536ep/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linmodem-intel-536ep/receipt Thu Dec 10 13:28:03 2009 +0000 @@ -0,0 +1,60 @@ +# SliTaz package receipt. + +PACKAGE="linmodem-intel-536ep" +VERSION="2.56.76.0" +CATEGORY="network" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="Intel Modem Drivers for 536EP chipset" +BUILD_DEPENDS="linux lzma" +WEB_SITE="http://linmodems.technion.ac.il/packages/Intel/" +TARBALL="intel-536EP-537EP_2009_07_04.tar.bz2" +WGET_URL="$WEB_SITE/Philippe.Vouters/$TARBALL" +TAGS="" + +# Rules to configure and make the package. + +compile_rules() { + + KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` + [ -d $WOK/linux/taz ] || tazwok cook linux + cd $WOK/$PACKAGE/intel-536-537 + + while read file; do + [ -f done.$file ] && continue + echo "Apply $file..." + patch -p1 < ../stuff/$PACKAGE-$file || return 1 + touch done.$file + done <flags & (1 << TTY_DO_WRITE_WAKEUP)) && + #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26) +- (ptty->ldisc.ops->write_wakeup != NULL)) ++ (ptty->ldisc->ops->write_wakeup != NULL)) + #else + (ptty->ldisc.write_wakeup != NULL)) + #endif +@@ -371,7 +371,7 @@ + printk("ss_bg_eh:ldisc wakeup\n"); + #endif + #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,26) +- (ptty->ldisc.ops->write_wakeup)(ptty); ++ (ptty->ldisc->ops->write_wakeup)(ptty); + #else + (ptty->ldisc.write_wakeup)(ptty); + #endif