wok-6.x view metasploit/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 3ae2d1f7b186 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="metasploit"
4 VERSION="5.0.91"
5 CATEGORY="network"
6 SHORT_DESC="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 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/$PACKAGE
26 mkdir -p $fs/etc/profile.d
28 cp -a $src/* $fs/usr/share/$PACKAGE
29 echo "export PATH=$PATH:/usr/share/$PACKAGE" > \
30 $fs/etc/profile.d/$PACKAGE.sh
31 chmod 755 $fs/etc/profile.d/$PACKAGE.sh
32 }