wok annotate rt2860sta/receipt @ rev 2916

Add eina (E17 Data types library)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 06 23:09:03 2009 +0200 (2009-05-06)
parents 2f08b20301f0
children f306d126580e
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"
pankso@2325 13
pankso@2325 14 # Rules to configure and make the package.
pankso@2325 15 compile_rules()
pankso@2325 16 {
pankso@2325 17 cd $src
pankso@2325 18 patch -p0 < ../stuff/RT2860-Makefile.patch || exit 1
pankso@2376 19 patch -p0 < ../stuff/RT2860-config.mk.patch || exit 1
pankso@2325 20 make
pankso@2325 21 find $src/os/linux -name "*.ko" -exec lzma e '{}' '{}'.gz \;
pankso@2325 22 }
pankso@2325 23
pankso@2325 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2325 25 genpkg_rules()
pankso@2325 26 {
pascal@2621 27 KVER=`grep ^VERSION= $WOK/linux-source/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
pankso@2325 28 mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860
pankso@2325 29 cp $src/os/linux/rt2860sta.ko.gz \
pankso@2325 30 $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/rt2860
pankso@2325 31 }
pankso@2325 32
pankso@2325 33 post_install()
pankso@2325 34 {
pankso@2325 35 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
pankso@2325 36 }