wok annotate atl1e/receipt @ rev 2637

Added tag 2.0 for changeset cf71613b81e7
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 16 20:00:00 2009 +0200 (2009-04-16)
parents 696b892c24d8
children f306d126580e
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 {
pankso@2324 33 depmod -a -b "$1/" ${EXTRAVERSION#_}-slitaz
pankso@2324 34 }