wok-stable annotate mdk3/receipt @ rev 7910

Added DESTDIR=PWD/_pkg to acl. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:07:10 2011 +0000 (2011-01-09)
parents
children
rev   line source
slaxemulator@7522 1 # SliTaz package receipt.
slaxemulator@7522 2
slaxemulator@7522 3 PACKAGE="mdk3"
slaxemulator@7522 4 VERSION="v6"
slaxemulator@7522 5 CATEGORY="security"
slaxemulator@7522 6 SHORT_DESC="WLAN penetration tool"
slaxemulator@7522 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7522 8 DEPENDS=""
slaxemulator@7522 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@7522 10 WEB_SITE="http://homepages.tu-darmstadt.de/~p_larbig/wlan/"
slaxemulator@7522 11 WGET_URL="http://homepages.tu-darmstadt.de/~p_larbig/wlan/$TARBALL"
slaxemulator@7522 12
slaxemulator@7522 13 # Rules to configure and make the package.
slaxemulator@7522 14 compile_rules()
slaxemulator@7522 15 {
slaxemulator@7522 16 cd $src
slaxemulator@7522 17 sed -i -e "s:/usr/local:/usr:" Makefile
slaxemulator@7522 18 make -C osdep
slaxemulator@7522 19 make
slaxemulator@7522 20 make DESTDIR="$PWD/_pkg" install
slaxemulator@7522 21 }
slaxemulator@7522 22
slaxemulator@7522 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7522 24 genpkg_rules()
slaxemulator@7522 25 {
slaxemulator@7522 26 mkdir -p $fs/usr
slaxemulator@7522 27 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@7522 28 }
slaxemulator@7522 29