# HG changeset patch # User Pascal Bellard # Date 1242066940 -7200 # Node ID 7d07ec8c100bbbc3292c2792e5ef9c09c36cd4a8 # Parent 4a83c4b49c5d28a765697a5dadfa6ab410a7f91e Remove atl2 compat-wireless madwifi diff -r 4a83c4b49c5d -r 7d07ec8c100b atl2/receipt --- a/atl2/receipt Mon May 11 20:33:07 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,49 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="atl2" -VERSION="2.0.4" -CATEGORY="system-tools" -SHORT_DESC="Driver for the Atheros L2" -MAINTAINER="erjo@slitaz.org" -DEPENDS="linux" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://atl2.sf.net/" -WGET_URL="http://people.redhat.com/csnook/atl2/atl2-2.0.4.tar.bz2" - -# Rules to configure and make the package. -compile_rules() -{ - KVER=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - if [ ! -d $WOK/linux/linux-$KVER ]; then - tazwok cook linux - fi - cd $src - make KSRC=$WOK/linux/linux-$KVER -} - -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ - KVER=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - EXTRAVERSION=_$KVER - - mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net - - # Find all modules (gztazmod.sh code). - echo -n "Searching all modules to compress them... " - find $src -name "*.ko" -exec lzma e '{}' '{}'.gz \; - - # copy module - cp -a $src/*.gz $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net -} - -# Post install/remove commands for Tazpkg. -post_install() -{ - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz -} - -post_remove() -{ - depmod -a -} diff -r 4a83c4b49c5d -r 7d07ec8c100b compat-wireless/receipt --- a/compat-wireless/receipt Mon May 11 20:33:07 2009 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,63 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="compat-wireless" -VERSION="2009-04-08" -CATEGORY="base-system" -SHORT_DESC="Linux wireless driver update." -MAINTAINER="pascal.bellard@slitaz.org" -WEB_SITE="http://wireless.kernel.org/" -TARBALL="$PACKAGE-old-$VERSION.tar.bz2" -WGET_URL="${WEB_SITE}download/$PACKAGE-2.6/$TARBALL" -DEPENDS="linux" -BUILD_DEPENDS="lzma" -PROVIDE="linux-wireless" - -# Rules to configure and make the package. -compile_rules() -{ - local kver - local kpath - - mv $PACKAGE-2.6-old $src 2> /dev/null - cd $src - # get kernel version - if [ ! -d $WOK/linux/taz ]; then - tazwok cook linux - fi - kpath=$WOK/linux/$(ls $WOK/linux/taz) - kver=$(grep "kernel version" $kpath/.config) - kver=${kver##* } - IFS='.'; set -- $kver ; unset IFS - if [ $1 -ne 2 -o $2 -ne 6 -o $3 -lt 22 -o $3 -gt 27 ]; then - cat < /dev/null 2>&1 - status - - # copy module - cp -a $_pkg/lib/modules/${KVER}-slitaz/net/*.gz $fs/lib/modules/${KVER}-slitaz/net - cp -a $_pkg/usr/local/bin $fs/usr -} - - -post_install() -{ - echo "Processing post-install commands..." - chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz -} - -post_remove() -{ - echo "Processing post-remove commands..." - depmod -a -} - -clean_wok() -{ - rm -rf "madwifi-ng-r3366+ar5007" -}