wok-current view dummynet/receipt @ rev 13380
Added dummynet kernel module and ipfw userspace tool
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Thu Sep 20 19:49:11 2012 +0000 (2012-09-20) |
parents | |
children | 0c06068b2963 |
line source
1 # SliTaz package receipt.
3 PACKAGE="dummynet"
4 VERSION="20120812"
5 CATEGORY="network"
6 SHORT_DESC="Network testing/emulation tool."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 WEB_SITE="http://info.iet.unipi.it/~luigi/dummynet/"
9 TARBALL="$VERSION-ipfw3.tgz"
10 WGET_URL="http://info.iet.unipi.it/~luigi/doc/$TARBALL"
12 BUILD_DEPENDS="linux-module-headers"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin \
24 $fs/lib/modules/`uname -r`/kernel/net
25 cp -a $src/ipfw/ipfw $fs/usr/bin
26 cp -a $src/kipfw-mod/ipfw_mod.ko $fs/lib/modules/`uname -r`/kernel/net
27 }
29 post_install()
30 {
31 echo "/lib/modules/`uname -r`/kernel/net/ipfw_mod.ko" >> /lib/modules/modules.dep
32 depmod
33 }