mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
45 lines
911 B
Bash
45 lines
911 B
Bash
SUMMARY="Lists directories and files recursively"
|
|
DESCRIPTION="Lists directories recursively, and produces an indented listing of files."
|
|
HOMEPAGE="https://oldmanprogrammer.net/source.php?dir=projects/tree"
|
|
COPYRIGHT="1996-2024 Steve Baker"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://oldmanprogrammer.net/tar/tree/tree-$portVersion.tgz"
|
|
CHECKSUM_SHA256="68ac45dc78c0c311ada06200ffc3c285e74223ba208061f8d15ffac25e44b2ec"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
tree$secondaryArchSuffix = $portVersion
|
|
cmd:tree = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
REPLACES="
|
|
tree
|
|
"
|
|
fi
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install MANDIR=$manDir PREFIX=$prefix
|
|
}
|