mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 15:08:57 +02:00
crunch: new recipe (#11328)
--------- Co-authored-by: Schrijvers Luc <begasus@gmail.com>
This commit is contained in:
46
app-misc/crunch/crunch-3.6.recipe
Normal file
46
app-misc/crunch/crunch-3.6.recipe
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
SUMMARY="A wordlist generator"
|
||||||
|
DESCRIPTION="Crunch is a wordlist generator where you can specify a standard character set \
|
||||||
|
or a character set you specify. crunch can generate all possible combinations \
|
||||||
|
and permutations."
|
||||||
|
HOMEPAGE="https://sourceforge.net/projects/crunch-wordlist/"
|
||||||
|
COPYRIGHT="2009, 2010, 2011 bofh28"
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://sourceforge.net/projects/crunch-wordlist/files/crunch-wordlist/crunch-$portVersion.tgz"
|
||||||
|
CHECKSUM_SHA256="6a8f6c3c7410cc1930e6854d1dadc6691bfef138760509b33722ff2de133fe55"
|
||||||
|
|
||||||
|
ARCHITECTURES="all !x86_gcc2"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
crunch$secondaryArchSuffix = $portVersion
|
||||||
|
cmd:crunch
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:make
|
||||||
|
cmd:which
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install \
|
||||||
|
INSTALL='$(shell which install)' \
|
||||||
|
INSTALL_OPTIONS='-g root -o user' \
|
||||||
|
PREFIX=$prefix \
|
||||||
|
DOCDIR=$docDir \
|
||||||
|
MANDIR=$manDir/man1 \
|
||||||
|
SHAREDIR=$dataDir
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user