diff options
-rw-r--r-- | dev-libs/skalibs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/skalibs/skalibs-2.5.1.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest index 4079a5308761..46eeae9c7cc7 100644 --- a/dev-libs/skalibs/Manifest +++ b/dev-libs/skalibs/Manifest @@ -3,3 +3,4 @@ DIST skalibs-2.3.2.0.tar.gz 205976 SHA256 a36302b63fe97fa8d616cac0bb7aebbff60e14 DIST skalibs-2.3.9.0.tar.gz 211781 SHA256 6229fb4fb415699bbff3b446ff44aa5b7fb9c512b83bd68ae4005603afab60cb SHA512 30b08fec01944fd7e816eb275dfe6eafdf21e14af95e70ae4991b9da716ab191b22c1576084ed7c40fd9e958804519075befaaf4314ccb370ced3c5e94793212 WHIRLPOOL 626ae08b19bb26916b5f75a979f60455404d91ae77c7c70fd35ae5b697e970f6cd72c68f42ddf6b288018b5639003ab6f2d2860d5617d8b6a0feca02f261277e DIST skalibs-2.4.0.2.tar.gz 215964 SHA256 0708172bc2ec9825f8a4f312d35f8dcd94da5f291425a598c33c873b3de77df8 SHA512 1a60ff7bf2364cfe56dc5847321dad4eaa3942be90555a405c4c6c6fff287e197621796624cd52030f4373665ef53d4f7cd5832e8492ecf1d75c82544a4c8f2e WHIRLPOOL 921f30c49c14b26ddef4e4a92f22f097379619e1ad42a4486081efe2436ca07ac7343144663efce738b35fc2cf0580a7651b81ca308edca5a7d262ec8a1b3559 DIST skalibs-2.5.0.0.tar.gz 207065 SHA256 38408ff6d0aec581010ecf9e49703ec5f4c8887bbe68717ec087634a7ade849c SHA512 fe96cb0a128dc5060c74dca1ac96df96bf1f9383229ef283b7b23b98c7910137f3ca25ecd7cf91446a7f6d1ce7bb6a36e346c45c6d5723f73eea008626a3792e WHIRLPOOL bdc773fb34eed7d321047c3ac8dbca9b0330914e3c46331b898fd5135c90ef2f1572f87264156a91f3a6eaebbb4baffcca936391f2d3e013f8f239d444cda750 +DIST skalibs-2.5.1.0.tar.gz 210366 SHA256 fe45621528bf17ef669218a0a5a0b9a88cd40b0de06b15d40123b5816a696560 SHA512 0bf4df9641c790548d3683ec45d956610381179ca00a6b88457ede785e05475bf76dee5cb1cbed21db8a58e7d349924eabb74ad930d646817526c883c3414045 WHIRLPOOL 349330d5130592ef045b5149cfa725bd2e511ef23fa9ed586831bf321521e6b10555cdcf43d2c1209191a208acff9d2e203e1b95fcf666d057627db52eb5b881 diff --git a/dev-libs/skalibs/skalibs-2.5.1.0.ebuild b/dev-libs/skalibs/skalibs-2.5.1.0.ebuild new file mode 100644 index 000000000000..60f48967282c --- /dev/null +++ b/dev-libs/skalibs/skalibs-2.5.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator + +DESCRIPTION="skarnet.org general-purpose libraries" +HOMEPAGE="https://www.skarnet.org/software/skalibs/" +SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/$(get_version_component_range 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="doc ipv6 static-libs" + +DEPEND=">=sys-devel/make-3.81" +RDEPEND="" + +HTML_DOCS="doc/*" + +src_prepare() { + default + + # Remove QA warning about LDFLAGS addition + sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die + + # configure overrides gentoo's -fstack-protector default + sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${S}/configure" || die +} + +src_configure() { + econf \ + --datadir=/etc \ + --dynlibdir=/$(get_libdir) \ + --libdir=/usr/$(get_libdir)/${PN} \ + --sysdepdir=/usr/$(get_libdir)/${PN} \ + --enable-clock \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable ipv6) +} + +src_install() { + emake DESTDIR="${D}" install + + use doc && einstalldocs +} |