wok-6.x view atl1e/receipt @ rev 2994

Remove atl2 compat-wireless madwifi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 11 20:35:40 2009 +0200 (2009-05-11)
parents 62979e3c780d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="atl1e"
4 VERSION="1.0.1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz EeePC scripts and configurations files."
7 DEPENDS="linux"
8 BUILD_DEPENDS="linux-source"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 MAINTAINER="pankso@slitaz.org"
11 WEB_SITE="http://asus.com/"
12 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src/src
18 make
19 find $src/src -name "*.ko" -exec lzma e '{}' '{}'.gz \;
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 KVER=`grep ^VERSION= $WOK/linux-source/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
26 mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/atl1e
27 cp $src/src/atl1e.ko.gz \
28 $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/atl1e
29 }
31 post_install()
32 {
33 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
34 }