wok-6.x annotate metasploit/receipt @ rev 15282
searchmonkey: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 26 13:42:03 2013 +0000 (2013-09-26) |
parents | |
children | 3765f181a6d5 |
rev | line source |
---|---|
slaxemulator@9444 | 1 # SliTaz package receipt. |
slaxemulator@9444 | 2 |
slaxemulator@9444 | 3 PACKAGE="metasploit" |
slaxemulator@9444 | 4 VERSION="3.6.0" |
slaxemulator@9444 | 5 CATEGORY="network" |
slaxemulator@9444 | 6 SHORT_DESC="The Metasploit Framework is an advanced open-source platform for developing, testing, and using exploit code" |
slaxemulator@9444 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9444 | 8 DEPENDS="ruby libpcap" |
slaxemulator@9444 | 9 SOURCE="framework" |
slaxemulator@9444 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@9444 | 11 WEB_SITE="http://www.metasploit.com/" |
slaxemulator@9444 | 12 WGET_URL="http://updates.metasploit.com/data/releases/$TARBALL" |
slaxemulator@9444 | 13 |
slaxemulator@9444 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9444 | 15 genpkg_rules() |
slaxemulator@9444 | 16 { |
slaxemulator@9444 | 17 mkdir -p $fs/usr/share/$PACKAGE $fs/etc/profile.d |
slaxemulator@9444 | 18 cp -a $src/* $fs/usr/share/$PACKAGE |
slaxemulator@9444 | 19 echo "export PATH=$PATH:/usr/share/$PACKAGE" > $fs/etc/profile.d/$PACKAGE.sh |
slaxemulator@9444 | 20 chmod 755 $fs/etc/profile.d/$PACKAGE.sh |
slaxemulator@9444 | 21 } |
slaxemulator@9444 | 22 |