wok-current view atl1e/receipt @ rev 2788
lxpanel: Less icon and move hide all
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 28 00:43:58 2009 +0200 (2009-04-28) |
parents | 696b892c24d8 |
children | f306d126580e |
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 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
34 }