pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Change PKGNAME & DESCR



Module Name:	pkgsrc-wip
Committed By:	MLH <mlh%goathill.org@localhost>
Pushed By:	mlh
Date:		Sat Jun 14 14:22:52 2025 -0400
Changeset:	44133a489f4352df4ccf861c114d5b29d34b78b0

Added Files:
	crosstool-pio/DESCR
	crosstool-pio/Makefile

Log Message:
Change PKGNAME & DESCR

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=44133a489f4352df4ccf861c114d5b29d34b78b0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 crosstool-pio/DESCR    | 10 ++++++++++
 crosstool-pio/Makefile | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diffs:
diff --git a/crosstool-pio/DESCR b/crosstool-pio/DESCR
new file mode 100644
index 0000000000..a9057e64cb
--- /dev/null
+++ b/crosstool-pio/DESCR
@@ -0,0 +1,10 @@
+crosstool-pio uses Crosstool-NG to build tools for PlatformIO (pio).
+
+Crosstool-NG aims at building toolchains. Toolchains are an essential
+component in a software development project. It will compile, assemble and
+link the code that is being developed. Some pieces of the toolchain will
+eventually end up in the resulting binaries:  static libraries are but an
+example.
+
+Refer to (http://crosstool-ng.github.io/docs/) for more information on how
+to configure, install and use crosstool-NG.
diff --git a/crosstool-pio/Makefile b/crosstool-pio/Makefile
new file mode 100644
index 0000000000..c1831d0420
--- /dev/null
+++ b/crosstool-pio/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+DISTNAME=	crosstool-ng-1.27.0
+PKGNAME=	crosstool-pio
+CATEGORIES=	cross
+MASTER_SITES=	${MASTER_SITE_GITHUB:=espressif/}
+GITHUB_PROJECT=	crosstool-NG
+GITHUB_TAG=	${DISTNAME}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/espressif/crosstool-NG/
+COMMENT=	Cross compiler build for espressif esp32 processors
+LICENSE=	gnu-gpl-v2 AND gnu-lgpl-v2
+
+TOOL_DEPENDS+=	help2man-[0-9]*:../../converters/help2man
+
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--without-ncursesw
+# XXX configure checks that EGREP is "grep -E"
+CONFIGURE_ARGS+=	ac_cv_path_EGREP="/usr/bin/grep -E"
+
+USE_LIBTOOL=	yes
+USE_TOOLS+=	autoconf automake bash bison gawk gmake gsed
+
+SUBST_CLASSES+=		unwrap
+SUBST_FILES.unwrap+=	ct-ng
+SUBST_FILES.unwrap+=	paths.sh
+SUBST_STAGE.unwrap=	post-build
+SUBST_SED.unwrap+=	-e "s,${TOOLS_DIR}/bin/bash,${BASH},"
+# XXX: add full path?
+SUBST_SED.unwrap+=	-e "s,${TOOLS_DIR}/bin/bison,bison,"
+SUBST_SED.unwrap+=	-e "s,${TOOLS_DIR}/bin/make,${GMAKE},"
+SUBST_MESSAGE.unwrap=	Fixing path to binaries.
+
+pre-configure:
+	cd ${WRKSRC} && ./bootstrap
+
+.include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index