diff --git a/dev-util/makeheaders/makeheaders-20181102.recipe b/dev-util/makeheaders/makeheaders-20181102.recipe new file mode 100644 index 000000000..5017c40d7 --- /dev/null +++ b/dev-util/makeheaders/makeheaders-20181102.recipe @@ -0,0 +1,48 @@ +SUMMARY="Simple utility that will automatically generate header files" +DESCRIPTION="The makeheaders program is a simple utility that will \ +automatically generate all \".h\" files for large programming project based on \ +information gleaned from the \".c\" and/or \".cpp\" source files. It operates by \ +scanning the C and/or C++ source code, extracting appropriate macros, \ +structure and subroutine declarations and writing this declarations, in the \ +correct order, into the generated header files." +HOMEPAGE="https://www.hwaci.com/sw/mkhdr/" +COPYRIGHT="1993 D. Richard Hipp" +LICENSE="BSD (2-clause)" +REVISION="1" +SOURCE_URI_1="https://fossil-scm.org/fossil/raw/src/makeheaders.c?name=49c76a6973d579ff0b346e5f73182fa72dd797cbb07e8b20612849dc2adef85d#noarchive" +CHECKSUM_SHA256_1="90ebf170bd6244d2df83d42ee79f52f948b298074a4c7824282510cf29fe4518" +SOURCE_FILENAME_1="makeheaders.c" +SOURCE_URI_2="https://fossil-scm.org/fossil/raw/src/makeheaders.html?name=c09a2e625c04fe6ac83bcbe148af321f75a956eb#noarchive" +CHECKSUM_SHA256_2="0a98bce30c25efa34063f3a62b297681d49fff9829e94216969955b4b3334722" +SOURCE_FILENAME_2="makeheaders.html" + +ARCHITECTURES="?x86_gcc2 ?x86 x86_64" + +PROVIDES=" + makeheaders = $portVersion + cmd:makeheaders = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + " + +BUILD() +{ + gcc makeheaders.c -o makeheaders +} + +INSTALL() +{ + install -m 0666 -d "$binDir" + install -m 0555 -t "$binDir" makeheaders + + install -m 0755 -d "$developDocDir" + install -m 0644 -t "$developDocDir" $sourceDir2/makeheaders.html +}