wok view metasploit/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="metasploit"
4 VERSION="6.3.56"
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*}/tags 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 }