summaryrefslogtreecommitdiff
path: root/devel/elfio
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2021-12-31 17:24:31 +0000
committerplunky <plunky@pkgsrc.org>2021-12-31 17:24:31 +0000
commit84156d4009ebb813fdee60b1d180688322f6cb5c (patch)
tree210032c664125baecb17ff82a4c0222d6807a16b /devel/elfio
parentb0fb62446a8cb3d89cb1bc051ddbacb299b77db4 (diff)
downloadpkgsrc-84156d4009ebb813fdee60b1d180688322f6cb5c.tar.gz
Add elfio-3.9
ELFIO is a small, header-only C++ library that provides a simple interface for reading and generating files in ELF binary format. It is used as a standalone library - it is not dependant on any other product or project. Adhering to ISO C++, it compiles on a wide variety of architectures and compilers.
Diffstat (limited to 'devel/elfio')
-rw-r--r--devel/elfio/DESCR6
-rw-r--r--devel/elfio/Makefile16
-rw-r--r--devel/elfio/PLIST19
-rw-r--r--devel/elfio/buildlink3.mk12
-rw-r--r--devel/elfio/distinfo5
5 files changed, 58 insertions, 0 deletions
diff --git a/devel/elfio/DESCR b/devel/elfio/DESCR
new file mode 100644
index 00000000000..de1527ddd90
--- /dev/null
+++ b/devel/elfio/DESCR
@@ -0,0 +1,6 @@
+ELFIO is a small, header-only C++ library that provides a simple
+interface for reading and generating files in ELF binary format.
+
+It is used as a standalone library - it is not dependant on any
+other product or project. Adhering to ISO C++, it compiles on a
+wide variety of architectures and compilers.
diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile
new file mode 100644
index 00000000000..6eb8589c925
--- /dev/null
+++ b/devel/elfio/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2021/12/31 17:24:31 plunky Exp $
+#
+
+DISTNAME= elfio-3.9
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=elfio/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://elfio.sourceforge.net/
+COMMENT= C++ library for reading and generating ELF files
+LICENSE= mit
+
+USE_CMAKE= yes
+USE_LANGUAGES= c c++
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/elfio/PLIST b/devel/elfio/PLIST
new file mode 100644
index 00000000000..906120153eb
--- /dev/null
+++ b/devel/elfio/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2021/12/31 17:24:31 plunky Exp $
+include/elfio/elf_types.hpp
+include/elfio/elfio.hpp
+include/elfio/elfio_array.hpp
+include/elfio/elfio_dump.hpp
+include/elfio/elfio_dynamic.hpp
+include/elfio/elfio_header.hpp
+include/elfio/elfio_modinfo.hpp
+include/elfio/elfio_note.hpp
+include/elfio/elfio_relocation.hpp
+include/elfio/elfio_section.hpp
+include/elfio/elfio_segment.hpp
+include/elfio/elfio_strings.hpp
+include/elfio/elfio_symbols.hpp
+include/elfio/elfio_utils.hpp
+include/elfio/elfio_version.hpp
+share/elfio/cmake/elfioConfig.cmake
+share/elfio/cmake/elfioConfigVersion.cmake
+share/elfio/cmake/elfioTargets.cmake
diff --git a/devel/elfio/buildlink3.mk b/devel/elfio/buildlink3.mk
new file mode 100644
index 00000000000..8e578dd2200
--- /dev/null
+++ b/devel/elfio/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/12/31 17:24:31 plunky Exp $
+
+BUILDLINK_TREE+= elfio
+
+.if !defined(ELFIO_BUILDLINK3_MK)
+ELFIO_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.elfio+= elfio>=3.9
+BUILDLINK_PKGSRCDIR.elfio?= ../../devel/elfio
+.endif
+
+BUILDLINK_TREE+= -elfio
diff --git a/devel/elfio/distinfo b/devel/elfio/distinfo
new file mode 100644
index 00000000000..b79b962974d
--- /dev/null
+++ b/devel/elfio/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/12/31 17:24:31 plunky Exp $
+
+BLAKE2s (elfio-3.9.tar.gz) = 958e014d1d47ce0514e783bef930cf1f5a4ab37f615782b9c0f9f9fb029a36c1
+SHA512 (elfio-3.9.tar.gz) = e2074266caa328c1984ef8ad81797d8c661e36ab96df56b4cdb66a96b5109b68372cd15e1a216aa275c2dbfa37900c33b23ce90023532da6576ccab67d9440b2
+Size (elfio-3.9.tar.gz) = 557452 bytes