wok view mdk3/receipt @ rev 15845

dosfstools: update genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 27 11:23:53 2014 +0000 (2014-01-27)
parents ed7f54c2a8fe
children eeba7ab1dffe
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 LICENSE="GPL2"
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 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e "s:/usr/local:/usr:" Makefile
20 make -C osdep
21 make
22 make DESTDIR="$DESTDIR" install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 }