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