diff options
Diffstat (limited to 'dev-libs/skalibs')
-rw-r--r-- | dev-libs/skalibs/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/skalibs/skalibs-2.6.0.0.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest index 373430950a37..1e6cab89337d 100644 --- a/dev-libs/skalibs/Manifest +++ b/dev-libs/skalibs/Manifest @@ -4,3 +4,4 @@ DIST skalibs-2.3.9.0.tar.gz 211781 SHA256 6229fb4fb415699bbff3b446ff44aa5b7fb9c5 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.1.tar.gz 210356 SHA256 aa387f11a01751b37fd32603fdf9328a979f74f97f0172def1b0ad73b7e8d51d SHA512 a1139c6c192b4b4b29fb5b93242d206274ad80503a7b68fda117105e5344e2a15547d52145f488759c5cfa7be45a8a22be8a4b606328556a92dc980186143dc4 WHIRLPOOL 4b22049146db47b15227b5b20767726ebdab07eff5e52e0ece48e0088e12418b454a2aa59141ddaff0b78a661fec8abf30764d4c17ccb42980b245a3dc862526 +DIST skalibs-2.6.0.0.tar.gz 209377 SHA256 3572cb8c7d2ae9d16da5a0f3d23b48e013e0c957f1329d100f04dd5accb054c3 SHA512 dffc50c71a43fc152fcd38267bd136f937bd573012743eb74659b0a42bf2812ba4ce1fd28a43bf1b7fc7f9f1f68fd80f7a1df66f33a379ce6e253658c81ce778 WHIRLPOOL f6f5db2fcdc4e86fa380b7b3f906945887887d6083b89bc89a652d46986c06737bf83d6258be347353aa70afc72dbed66a5a363fce41ac1c2348bc22c16ecf52 diff --git a/dev-libs/skalibs/skalibs-2.6.0.0.ebuild b/dev-libs/skalibs/skalibs-2.6.0.0.ebuild new file mode 100644 index 000000000000..60f48967282c --- /dev/null +++ b/dev-libs/skalibs/skalibs-2.6.0.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 +} |