wok-stable view atl1e/receipt @ rev 2655
Add: pm-utils
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Sat Apr 18 17:39:15 2009 +0200 (2009-04-18) |
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 }