wok-current annotate rt2860sta/receipt @ rev 2388
Add: squid-auth-helpers
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 09 23:59:03 2009 +0100 (2009-03-09) |
parents | 6a237ab847f8 |
children | 62979e3c780d |
rev | line source |
---|---|
pankso@2325 | 1 # SliTaz package receipt. |
pankso@2325 | 2 |
pankso@2325 | 3 PACKAGE="rt2860sta" |
pankso@2325 | 4 VERSION="1.8.0.0" |
pankso@2325 | 5 CATEGORY="system-tools" |
pankso@2325 | 6 SHORT_DESC="Kernel module rt2860sta (Wireless driver used on EeePC)." |
pankso@2325 | 7 DEPENDS="linux wireless_tools" |
pankso@2325 | 8 BUILD_DEPENDS="linux-source" |
pankso@2325 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@2325 | 10 MAINTAINER="pankso@slitaz.org" |
pankso@2325 | 11 WEB_SITE="http://www.ralinktech.com/ralink/Home/Support/Linux.html" |
pankso@2325 | 12 WGET_URL="http://mirror.slitaz.org/sources/packages/r/$TARBALL" |
pascal@2381 | 13 KVER=`grep -s ^VERSION= $WOK/linux-source/receipt | cut -d "=" -f2 | sed -e 's/"//g'` |
pankso@2325 | 14 EXTRAVERSION=_${KVER} |
pankso@2325 | 15 |
pankso@2325 | 16 # Rules to configure and make the package. |
pankso@2325 | 17 compile_rules() |
pankso@2325 | 18 { |
pankso@2325 | 19 cd $src |
pankso@2325 | 20 patch -p0 < ../stuff/RT2860-Makefile.patch || exit 1 |
pankso@2376 | 21 patch -p0 < ../stuff/RT2860-config.mk.patch || exit 1 |
pankso@2325 | 22 make |
pankso@2325 | 23 find $src/os/linux -name "*.ko" -exec lzma e '{}' '{}'.gz \; |
pankso@2325 | 24 } |
pankso@2325 | 25 |
pankso@2325 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2325 | 27 genpkg_rules() |
pankso@2325 | 28 { |
pankso@2325 | 29 mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860 |
pankso@2325 | 30 cp $src/os/linux/rt2860sta.ko.gz \ |
pankso@2325 | 31 $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860 |
pankso@2325 | 32 } |
pankso@2325 | 33 |
pankso@2325 | 34 post_install() |
pankso@2325 | 35 { |
pankso@2325 | 36 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz |
pankso@2325 | 37 } |