wok-next diff linmodem-hsfmodem/receipt @ rev 8256
Add freerdp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 29 18:02:00 2011 +0100 (2011-01-29) |
parents | 9ce59d5bc5b7 |
children | 0b4cf0d9e1b5 |
line diff
1.1 --- a/linmodem-hsfmodem/receipt Fri Nov 26 20:59:24 2010 +0100 1.2 +++ b/linmodem-hsfmodem/receipt Sat Jan 29 18:02:00 2011 +0100 1.3 @@ -7,7 +7,7 @@ 1.4 SHORT_DESC="Driver for the Conexant (formerly Rockwell) HSF Softmodem family." 1.5 MAINTAINER="orphaned@sliatz.org" 1.6 DEPENDS="module-init-tools perl usbutils" 1.7 -BUILD_DEPENDS="cpio linux lzma" 1.8 +BUILD_DEPENDS="cpio linux lzma linux-module-headers" 1.9 TARBALL="$SOURCE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.linuxant.com/drivers" 1.11 WGET_URL="http://www.linuxant.com/drivers/hsf/full/archive/$SOURCE-$VERSION/$TARBALL" 1.12 @@ -16,14 +16,9 @@ 1.13 compile_rules() 1.14 { 1.15 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.16 - [ -d $WOK/linux/taz ] || tazwok cook linux 1.17 cd $src 1.18 echo "Apply $file..." 1.19 patch -p1 < ../stuff/$SOURCE-$VERSION.diff || exit 1 1.20 - # set /usr/src/linux 1.21 - echo "Set fake /usr/src/linux dir..." 1.22 - [ -e /usr/src ] && SRCDIR=yes || mkdir -p /usr/src 1.23 - ln -s $WOK/linux/linux-$KERNEL_VERSION /usr/src/linux 1.24 grep -rl 'uname -r' . | xargs sed -i "s/uname -r/echo $KERNEL_VERSION/g" 1.25 # build driver 1.26 echo "Build driver" 1.27 @@ -31,10 +26,6 @@ 1.28 # build kernel modules 1.29 echo "Running $PWD/_pkg/usr/sbin/hsfconfig -ka" 1.30 $PWD/_pkg/usr/sbin/hsfconfig -ka 1.31 - # reset /usr/src/linux 1.32 - echo "Clean files" 1.33 - rm /usr/src/linux 1.34 - [ "$SRCDIR" = "yes" ] && rmdir /usr/src 1.35 echo "done." 1.36 [ -d /lib/modules/$KERNEL_VERSION/extra ] 1.37 }