wok-current view metasploit/receipt @ rev 21921
Add pcem (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 05 17:33:56 2019 +0200 (2019-10-05) |
parents | 6e8b1bcb30e2 |
children | 5af8e6bf64b2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="metasploit"
4 VERSION="5.0.18"
5 CATEGORY="network"
6 SHORT_DESC="The Metasploit Framework is an advanced open-source platform for developing, testing, and using exploit code."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.metasploit.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rapid7/$PACKAGE-framework/archive/$VERSION.tar.gz"
14 DEPENDS="libpcap ruby"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/$PACKAGE
20 mkdir -p $fs/etc/profile.d
22 cp -a $src/* $fs/usr/share/$PACKAGE
23 echo "export PATH=$PATH:/usr/share/$PACKAGE" > $fs/etc/profile.d/$PACKAGE.sh
24 chmod 755 $fs/etc/profile.d/$PACKAGE.sh
25 }