0
0
Fork 0
haikuports/sys-devel/make/make-4.3.recipe

62 lines
1.4 KiB
Bash

SUMMARY="Standard tool to compile source trees"
DESCRIPTION="Make is a tool which controls the generation of executables and \
other non-source files of a program from the program's source files.
Make gets its knowledge of how to build your program from a file called the \
makefile, which lists each of the non-source files and how to compute it from \
other files. When you write a program, you should write a makefile for it, so \
that it is possible to use Make to build and install the program."
HOMEPAGE="https://www.gnu.org/software/make/"
COPYRIGHT="1988-2020 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/make/make-$portVersion.tar.gz"
CHECKSUM_SHA256="e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19"
PATCHES="make-$portVersion.patchset"
ARCHITECTURES="?all"
PROVIDES="
make = $portVersion compat >= 3.82
cmd:make = $portVersion compat >= 3.82
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:sed
cmd:grep
"
if [ "$recipeAction" = TEST ]; then
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:file
"
fi
defineDebugInfoPackage make \
$binDir/make
BUILD()
{
# pselect usecase is broken on beta2
ac_cv_func_pselect=no runConfigure ./configure \
--disable-rpath --with-gnu-ld --disable-dependency-tracking
./build.sh
}
INSTALL()
{
./make install
}
TEST()
{
./make check
}