diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/skalibs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/skalibs/skalibs-2.6.3.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest index 38aaac943cca..e01a4130994b 100644 --- a/dev-libs/skalibs/Manifest +++ b/dev-libs/skalibs/Manifest @@ -6,3 +6,4 @@ DIST skalibs-2.5.0.0.tar.gz 207065 BLAKE2B f4491a3625c9d5acbfd2d35ca4a907cc69804 DIST skalibs-2.5.1.1.tar.gz 210356 BLAKE2B bec8313e85af1a810113a28b8d7a9650f79c4acd52abc5f6556bdf949996bb249f38bf62438ad2a724922de0a6296ec5dc13181cdda01f4c9e74676e3fd1b53f SHA512 a1139c6c192b4b4b29fb5b93242d206274ad80503a7b68fda117105e5344e2a15547d52145f488759c5cfa7be45a8a22be8a4b606328556a92dc980186143dc4 DIST skalibs-2.6.0.0.tar.gz 209377 BLAKE2B 69b938fd36b7c23c262ed62161d84a78113f5a152e8356a5dd3ebb55f49319d18d3e8dee4e4a9be88b20793e5e65794714f9210e55bdc9eb38e67e955a12acbc SHA512 dffc50c71a43fc152fcd38267bd136f937bd573012743eb74659b0a42bf2812ba4ce1fd28a43bf1b7fc7f9f1f68fd80f7a1df66f33a379ce6e253658c81ce778 DIST skalibs-2.6.1.0.tar.gz 210504 BLAKE2B 47be3c920d7e0db9baa5982c5e1273e3132636d84767b5a0087bcbda0c18039b0ca26428c1db9a33a0ed5186a9c94860c73aaccd7ecf38da21e56e9b3e5ffb4d SHA512 52db44f398bcc08a2b4243a32254fef87d11f152dd6e9f8fa85dcc548fff5dcd1ef83ffbd32aa572837f344f9a3e4a31f156edd5ad6b4274d8138fbf24213a57 +DIST skalibs-2.6.3.0.tar.gz 224463 BLAKE2B 0b051cb027b2c7335c5b6d581aeb8ff4fce8262b58551a9a0ec87d03148280a66be07a0f589731c65ef9b5298e64be93a5bd2a45818bc131cb2df5f31ac1040e SHA512 4f904cde17fa91070317b9ddd542715c5b4e19a8ccb3ae3b2eb014a782ae66b38033f7f5614d92cfb64e251aa4e97e11c03695f161cdd2b122b61fd3e627af9a diff --git a/dev-libs/skalibs/skalibs-2.6.3.0.ebuild b/dev-libs/skalibs/skalibs-2.6.3.0.ebuild new file mode 100644 index 000000000000..da01456a849a --- /dev/null +++ b/dev-libs/skalibs/skalibs-2.6.3.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 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 -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 +} |