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