wok view mdk3/receipt @ rev 11659

xfe, Improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 12 22:40:16 2012 +0100 (2012-02-12)
parents
children 3765f181a6d5
line source
1 # SliTaz package receipt.
3 PACKAGE="mdk3"
4 VERSION="v6"
5 CATEGORY="security"
6 SHORT_DESC="WLAN penetration tool"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
11 WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i -e "s:/usr/local:/usr:" Makefile
18 make -C osdep
19 make
20 make DESTDIR="$PWD/_pkg" install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 }