From 6a72b8a55ad6d2988206499334bbe386c56bb232 Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sun, 22 Jun 2025 22:38:28 +0200 Subject: [PATCH] djstub: new recipe --- dev-util/djstub/djstub-0.6.recipe | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 dev-util/djstub/djstub-0.6.recipe diff --git a/dev-util/djstub/djstub-0.6.recipe b/dev-util/djstub/djstub-0.6.recipe new file mode 100644 index 000000000..27188f525 --- /dev/null +++ b/dev-util/djstub/djstub-0.6.recipe @@ -0,0 +1,50 @@ +SUMMARY="Go32-compatible stub that supports COFF, PE and ELF payloads" +DESCRIPTION="djstub project provides a dj64-compatible and go32-compatible stubs that support COFF,\ +PE and ELF payloads. Its primary target is dj64dev suite, but it can also work with djgpp-built \ +executables. + +what it does? + +- It can stubify or re-stub COFF and PE executables. See djstubify. +- It can link the ELF binaries into a dj64 executables. See djlink. +- It can strip the debug info from dj64 executables. See djstrip." +HOMEPAGE="https://github.com/stsp/djstub" +COPYRIGHT="2024 Stas Sergeev" +LICENSE="GNU GPL v3" +SOURCE_URI="https://github.com/stsp/djstub/archive/refs/tags/0.6.tar.gz" +SOURCE_DIR="$portVersionedName" +CHECKSUM_SHA256="f62ffd3af248c638853acfa06e58ddb59beaf96a14c5d84e8daccfe41120c435" +REVISION="1" + +ARCHITECTURES="all" +SECONDARY_ARCHITECTURES="?x86" + +PROVIDES=" + djstub$secondaryArchSuffix = $portVersion + cmd:djlink + cmd:djstrip + cmd:djstubify + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:nasm + cmd:smlrcc + " + +BUILD() +{ + make $jobArgs +} + +INSTALL() +{ + make prefix=$prefix install +}