summaryrefslogtreecommitdiff
path: root/dev-libs/skalibs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/skalibs
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/skalibs')
-rw-r--r--dev-libs/skalibs/Manifest17
-rw-r--r--dev-libs/skalibs/metadata.xml12
-rw-r--r--dev-libs/skalibs/skalibs-2.3.10.0.ebuild41
-rw-r--r--dev-libs/skalibs/skalibs-2.3.2.0.ebuild42
-rw-r--r--dev-libs/skalibs/skalibs-2.3.9.0.ebuild42
-rw-r--r--dev-libs/skalibs/skalibs-2.4.0.2.ebuild45
-rw-r--r--dev-libs/skalibs/skalibs-2.5.0.0.ebuild45
-rw-r--r--dev-libs/skalibs/skalibs-2.5.1.1.ebuild48
-rw-r--r--dev-libs/skalibs/skalibs-2.6.0.0.ebuild48
9 files changed, 340 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest
new file mode 100644
index 000000000000..f003b5d3e717
--- /dev/null
+++ b/dev-libs/skalibs/Manifest
@@ -0,0 +1,17 @@
+DIST skalibs-2.3.10.0.tar.gz 213288 SHA256 e4d5147941055b2a367794666f773a4b216c3ae83c015a5fcf2cd0498470ea44 SHA512 9120554a91ef292a8094c4c036b0e93c8db0576d72597c720eca3562d7239da673ace12b9f73747d957a993a780f112b9b7d03030451c1d0b33eaf90b402832a WHIRLPOOL 9eb29c052d25c3850761956647d0a5403eff0a8e264c049885d0315a53f000aee428a688c5fb9cd831a6923cd734b6a1ca8ea8217b36991d95bce031979ae678
+DIST skalibs-2.3.2.0.tar.gz 205976 SHA256 a36302b63fe97fa8d616cac0bb7aebbff60e1419dfb4d4f1af66b3c058dbd6ba SHA512 f5a4b85fc43f49eccf5a2ac2ce5b142afc28fe4af781e59d1ad21a7eb5896075720230391234fcf7879cb29ba2d1624926d8cca77c3925327aa7a9a5fefff91a WHIRLPOOL 453d5a0c9d1c2d84e1c8d5ac6bdb27e85d402de8007b8fcc6ba00c6e7c2400fb30c188da0a71343271edf47480916c7f3a5c7bb6e07703d5adc196bccc783350
+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.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
+EBUILD skalibs-2.3.10.0.ebuild 966 SHA256 90aa8df668e7437143eb8880b27faf8f965679b37d091e7dea3dc57fe7fd5043 SHA512 7eb985cd31da9eba23ea04bbb889044bd8b45d5bc5773d335927ed9a824fc77036bdde8161b1f589325cbc546538d38d7124dc254b3da26c9954d0270533d6d6 WHIRLPOOL 2314c3aa6d0ea00e0ed0ed15a849c61bce0aca3b50f8e37ad35b66dce6d152668304432ce588bd34e7490ee14564b0c5f169ffa00e03e0382a5914836ba8fbdc
+EBUILD skalibs-2.3.2.0.ebuild 1030 SHA256 5fb3a86bc69162bfe6984aae906408726f8edab2867e194010451fa6769cbf5e SHA512 ff52e56a44d1ec81ed2e21fb0bfd91e42b88228f19b63b32b843b90b103cfb971e7f9e94086e2afbbe0ae37d64d24aa637a8f54ce7c720f12eed2efefeffc578 WHIRLPOOL fe1d5dfcbc28543ec4ff0f7348870c3969556ca19919bf73cfdb54d2b7279e362aa60f1dcb11d87afb7f2334ddd3bbcb37afe458f048c5d4b71734fd6e0d81f1
+EBUILD skalibs-2.3.9.0.ebuild 1032 SHA256 b0e3580a3df4155840dc7f37809a8f6d5f9ddf2c25291bac9786470cec989038 SHA512 b8b0ec19d2258582b7a81262bdff4d184d2b62ccfa703f4117c7c7eff14efd11b07f1d9e8f31d76fe7a744be5f6595fa5709e8f8a6367e587b5cb8f141e15fab WHIRLPOOL 4b08a1a14cc56b1a019a5660c1e3a46663183b5ce32a0249f915b28f785100373e47b0a9886ba811c19b1290ef3f3e1c2a69811ebabb5b11b08770b7d73b6a70
+EBUILD skalibs-2.4.0.2.ebuild 961 SHA256 9eddfeb710f8d3888f898f6638b1a3d8ac08088b1c95932bc809763e09b54f81 SHA512 81f8b3a0ab9d43d0eb9c3fd36913c07b16cb2c891ae6abfe0bc2bc7e3172480de83fba697668b30ac769261fe89bd4f0fc745f5ae49f9e95802fdd03a7d5e27f WHIRLPOOL a15e52a327179f29d7d0d9f93d02d1b46d02823a3b7b77bc75a2a062d261fc2b3aa6763034efb9c4d6ed891fb92ee6a403f61eebe00178e2db2e3fbbfdec2dab
+EBUILD skalibs-2.5.0.0.ebuild 968 SHA256 46624f60a3d8713a77e59193200d4031b2d00ee71f5e25aafb50608ff31ec9bb SHA512 242b500a188cfb7b1be18fecf3e0861a914876e7615f24927063018f554f14a476d04da229ff7f68194ebdedb833f6021bb20d3c21809d3d1bdc175d5a79225e WHIRLPOOL aad61d27d81df77fe8599e6c495f565cfa6fdaf652e24eef35879008356c80122ea8ab523cd344851a0316224aad385d058c19bb8ddc4806cdd9f9d11a6b900d
+EBUILD skalibs-2.5.1.1.ebuild 1107 SHA256 896ab8d7e0a3f6fe2fad22acc7d67a7a67b3e515da80a4dd2f18a82c5d6aae61 SHA512 94d7df28dc87471da4b15eaa5322b911660994e033c21c6a4d4c557939bceb1c53341d181b95f14f5927cd620746761a6943664cc7b546ff88331e3627256b48 WHIRLPOOL ace58219d47654121186cce04b3dc670d7d533b3be50ce03fd174aa04c056d778213c168313b505091fcf00a7d4657c03c06888ec8db50d3aa99ef33df96a911
+EBUILD skalibs-2.6.0.0.ebuild 1107 SHA256 896ab8d7e0a3f6fe2fad22acc7d67a7a67b3e515da80a4dd2f18a82c5d6aae61 SHA512 94d7df28dc87471da4b15eaa5322b911660994e033c21c6a4d4c557939bceb1c53341d181b95f14f5927cd620746761a6943664cc7b546ff88331e3627256b48 WHIRLPOOL ace58219d47654121186cce04b3dc670d7d533b3be50ce03fd174aa04c056d778213c168313b505091fcf00a7d4657c03c06888ec8db50d3aa99ef33df96a911
+MISC ChangeLog 2613 SHA256 3ebcf3053486a04fb8bfc2b6ea0a62f5c70c03ef364dbebe3cfe6aa2cfb06d80 SHA512 8b414847963e648b86c2eecba9825eab6c73d8e5de7b1c62e2c73991a6b6bb9ca929a005b4ffad44dfa25da3d75c62f599f8278fe02d23a516f31889ac83e5dc WHIRLPOOL 476a744bbe5d38faf58fcb9cb1d5d12e6f3c108effcbd3c254bf31279af3251a750dd88ae2b0738df3483c9a7981613758e66652e05e1aaaa95351d99eda5714
+MISC ChangeLog-2015 2023 SHA256 efca987750c3b5d761de0bb447282f45646558ef8d6627d0861cef5b67fb093d SHA512 653a283cfb947737726992af9d3623e38b44c5ad22803124ddaf18f85169acf1cf9cbd16675b33c83b25d5d288b09236e2689ac3f0c0ea16d770799b909a5e74 WHIRLPOOL 3addb256f48508befe7995c5ab29e11cd2ee443ba322dd3e5dd0eb5298a3cabfe2166a9c2c91a774249d6685c7d3100d9da4853d12c5b989f32a562c76f36aad
+MISC metadata.xml 340 SHA256 5baa73d1283b8983b4fbc2bc2c7acf4e2b6d72d7bb56cd116dab66a2313805af SHA512 f68ae944fc47d4d472e90b676023d6ca7648f0b94c0f8ace048c8b6791e1d738a96474435846d779f05df51beff2e33bd09234fd8a3be0ce215824045dfa843d WHIRLPOOL 94adc886bf1ec1f225cf41ed4888d7327c1b06c23785bb5924e308fa2f0f321abb0a5d23cdf93a71e9739da11d2173da80c53e978abaf12e6d45ff398bb7efd4
diff --git a/dev-libs/skalibs/metadata.xml b/dev-libs/skalibs/metadata.xml
new file mode 100644
index 000000000000..fdf4b3253e89
--- /dev/null
+++ b/dev-libs/skalibs/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+<maintainer type="person">
+<email>williamh@gentoo.org</email>
+<name>William Hubbs</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-libs/skalibs/skalibs-2.3.10.0.ebuild b/dev-libs/skalibs/skalibs-2.3.10.0.ebuild
new file mode 100644
index 000000000000..4ea8863bd1dd
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.3.10.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="skarnet.org general-purpose libraries"
+HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipv6 static-libs"
+
+DEPEND=">=sys-devel/make-3.81"
+RDEPEND=""
+
+src_prepare() {
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
+ eapply_user
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable static-libs static) \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --datadir=/etc \
+ --sysdepdir=/usr/$(get_libdir)/${PN} \
+ --enable-force-devr
+}
+
+src_install() {
+ default
+ dodir /etc/ld.so.conf.d/
+ echo "/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
+
+ use doc && dohtml -r doc/*
+}
diff --git a/dev-libs/skalibs/skalibs-2.3.2.0.ebuild b/dev-libs/skalibs/skalibs-2.3.2.0.ebuild
new file mode 100644
index 000000000000..5e4fbf25c1b8
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.3.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
+HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc ipv6 static-libs"
+
+DEPEND=">=sys-devel/make-3.81"
+RDEPEND=""
+
+src_prepare() {
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable static-libs static) \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --datadir=/etc \
+ --sysdepdir=/usr/$(get_libdir)/${PN} \
+ --enable-force-devr
+}
+
+src_install() {
+ default
+ dodir /etc/ld.so.conf.d/
+ echo "/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
+
+ use doc && dohtml -r doc/*
+}
diff --git a/dev-libs/skalibs/skalibs-2.3.9.0.ebuild b/dev-libs/skalibs/skalibs-2.3.9.0.ebuild
new file mode 100644
index 000000000000..f00e3f31ff87
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.3.9.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="development files used for building software at skarnet.org: essentially general-purpose libraries"
+HOMEPAGE="http://www.skarnet.org/software/skalibs/index.html"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc ipv6 static-libs"
+
+DEPEND=">=sys-devel/make-3.81"
+RDEPEND=""
+
+src_prepare() {
+ # Remove QA warning about LDFLAGS addition
+ sed -i "s~tryldflag LDFLAGS_AUTO -Wl,--hash-style=both~:~" "${S}/configure" || die
+}
+
+src_configure() {
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable static-libs static) \
+ --dynlibdir=/$(get_libdir) \
+ --libdir=/usr/$(get_libdir)/${PN} \
+ --datadir=/etc \
+ --sysdepdir=/usr/$(get_libdir)/${PN} \
+ --enable-force-devr
+}
+
+src_install() {
+ default
+ dodir /etc/ld.so.conf.d/
+ echo "/$(get_libdir)/${PN}" > ${ED}/etc/ld.so.conf.d/10${PN}.conf || die
+
+ use doc && dohtml -r doc/*
+}
diff --git a/dev-libs/skalibs/skalibs-2.4.0.2.ebuild b/dev-libs/skalibs/skalibs-2.4.0.2.ebuild
new file mode 100644
index 000000000000..883a0dd64a19
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.4.0.2.ebuild
@@ -0,0 +1,45 @@
+# 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="http://www.skarnet.org/software/skalibs/"
+SRC_URI="http://www.skarnet.org/software/${PN}/${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~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
+}
+
+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
+}
diff --git a/dev-libs/skalibs/skalibs-2.5.0.0.ebuild b/dev-libs/skalibs/skalibs-2.5.0.0.ebuild
new file mode 100644
index 000000000000..210321dada44
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.5.0.0.ebuild
@@ -0,0 +1,45 @@
+# 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
+}
+
+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
+}
diff --git a/dev-libs/skalibs/skalibs-2.5.1.1.ebuild b/dev-libs/skalibs/skalibs-2.5.1.1.ebuild
new file mode 100644
index 000000000000..60f48967282c
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.5.1.1.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
+}
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
+}