wok-current view atl1e/receipt @ rev 2432
wormux, wv, wxWidgets-dev, wxWidgets: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 12 15:32:16 2009 +0000 (2009-03-12) |
parents | |
children | 62979e3c780d |
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"
13 KVER=`grep ^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/src
20 make
21 find $src/src -name "*.ko" -exec lzma e '{}' '{}'.gz \;
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/atl1e
28 cp $src/src/atl1e.ko.gz \
29 $fs/lib/modules/${KVER}-slitaz/kernel/drivers/net/atl1e
30 }
32 post_install()
33 {
34 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
35 }