summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-30 08:59:40 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-08-30 08:59:40 -0400
commitd1f3bb32fd7220a1f797dbe03e5bae0d0e8fa560 (patch)
tree45652f4302a762c6a2547a55ce63fc0288240d07
parent2be4d7c08ce05665007274578a2378bd6b64afeb (diff)
downloadgentoo-overlay-d1f3bb32fd7220a1f797dbe03e5bae0d0e8fa560.tar.xz
gentoo-overlay-d1f3bb32fd7220a1f797dbe03e5bae0d0e8fa560.zip
dev-libs/dwarf: bump, fixes
-rw-r--r--dev-libs/libdwarf/Manifest2
-rw-r--r--dev-libs/libdwarf/libdwarf-0.1.1.ebuild31
-rw-r--r--dev-libs/libdwarf/libdwarf-20210305.ebuild20
-rw-r--r--dev-libs/libdwarf/metadata.xml4
4 files changed, 36 insertions, 21 deletions
diff --git a/dev-libs/libdwarf/Manifest b/dev-libs/libdwarf/Manifest
index edbfc9d..b1547de 100644
--- a/dev-libs/libdwarf/Manifest
+++ b/dev-libs/libdwarf/Manifest
@@ -1 +1 @@
-DIST libdwarf-20210305.tar.gz 2872089 BLAKE2B 2ce8f29846486ca3b45db606b23fa1aae83af77ce95473b6f55678e930e3f25a81e44db64700dc41969b42a6d1d6086f30d45bd6e30341e1a557aedcda970846 SHA512 6fa05cf88125a95ebe38673d62e944701fdd28ba5c50f7695037acbc386f29b41d6551d9d08283b7d24fba02f3c0d6c8f5d424ee75989b6aef54f8dc2340d0f5
+DIST libdwarf-0.1.1.tar.xz 1929280 BLAKE2B 1a542e982db03cbf380de52db2b1fa5c7d29f4a1b56a6373f011819cf3677f09ebe7446c7f28cfd84f61365f022f25469b869eccd148cd5781218fb6875d669c SHA512 eb2502d847fd5ee15928651dcc1ef30dab04b7e65d7e772dd245da74bb071ce525cfdf97d1af5dbceb50c1a12cccda5c762f461d03a16c55557ab5e94e79e8ab
diff --git a/dev-libs/libdwarf/libdwarf-0.1.1.ebuild b/dev-libs/libdwarf/libdwarf-0.1.1.ebuild
new file mode 100644
index 0000000..39a2c3c
--- /dev/null
+++ b/dev-libs/libdwarf/libdwarf-0.1.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="The DWARF Debugging Information Format"
+HOMEPAGE="https://www.prevanders.net/dwarf.html"
+SRC_URI="https://www.prevanders.net/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dwarfexample dwarfgen static-libs"
+
+DEPEND="
+ sys-libs/zlib
+ dwarfgen? ( virtual/libelf )
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local myeconfargs=(
+ --includedir="${EPREFIX}/usr/include/${PN}"
+ --enable-shared
+ $(use_enable dwarfexample)
+ $(use_enable dwarfgen)
+ $(use_enable dwarfgen libelf)
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
diff --git a/dev-libs/libdwarf/libdwarf-20210305.ebuild b/dev-libs/libdwarf/libdwarf-20210305.ebuild
deleted file mode 100644
index 4b8675f..0000000
--- a/dev-libs/libdwarf/libdwarf-20210305.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="The DWARF Debugging Information Format"
-HOMEPAGE="https://www.prevanders.net/dwarf.html"
-SRC_URI="https://www.prevanders.net/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-DEPEND="virtual/libelf"
-RDEPEND="${DEPEND}"
-
-src_configure() {
- econf --includedir="${EPREFIX}/usr/include/${PN}" --enable-shared --disable-static
-}
diff --git a/dev-libs/libdwarf/metadata.xml b/dev-libs/libdwarf/metadata.xml
index 004555a..c4a208f 100644
--- a/dev-libs/libdwarf/metadata.xml
+++ b/dev-libs/libdwarf/metadata.xml
@@ -5,4 +5,8 @@
<email>alex_y_xu@yahoo.ca</email>
<name>Alex Xu (Hello71)</name>
</maintainer>
+ <use>
+ <flag name="dwarfexample">dwarfexample</flag>
+ <flag name="dwarfgen">dwarfgen</flag>
+ </use>
</pkgmetadata>