summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuis Ressel <aranea@aixah.de>2017-11-15 13:58:09 -0600
committerWilliam Hubbs <williamh@gentoo.org>2017-11-15 14:07:19 -0600
commitb4c037df6f5272a54ac2c07bf9212ac54d42e1b2 (patch)
treefb798300f58dc367a70a4949ee1712362edb620a /dev-libs/skalibs
parentapp-text/libstaroffice: --with-sharedptr=c++11 (diff)
downloadgentoo-b4c037df6f5272a54ac2c07bf9212ac54d42e1b2.tar.gz
gentoo-b4c037df6f5272a54ac2c07bf9212ac54d42e1b2.tar.bz2
gentoo-b4c037df6f5272a54ac2c07bf9212ac54d42e1b2.zip
dev-libs/skalibs: Bump to 2.6.1.0
Also, update the -fno-stack-protector regex.
Diffstat (limited to 'dev-libs/skalibs')
-rw-r--r--dev-libs/skalibs/Manifest1
-rw-r--r--dev-libs/skalibs/skalibs-2.6.1.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-libs/skalibs/Manifest b/dev-libs/skalibs/Manifest
index 1e6cab89337d..ced45aafcafb 100644
--- a/dev-libs/skalibs/Manifest
+++ b/dev-libs/skalibs/Manifest
@@ -5,3 +5,4 @@ DIST skalibs-2.4.0.2.tar.gz 215964 SHA256 0708172bc2ec9825f8a4f312d35f8dcd94da5f
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
+DIST skalibs-2.6.1.0.tar.gz 210504 SHA256 09503aa9ae93751c4e02ee799c9c1bc6a94aa2941a759a7af0a8fd83f0285564 SHA512 52db44f398bcc08a2b4243a32254fef87d11f152dd6e9f8fa85dcc548fff5dcd1ef83ffbd32aa572837f344f9a3e4a31f156edd5ad6b4274d8138fbf24213a57 WHIRLPOOL 55fe17283589ed61ab6279dd1e397f161f099dfec60066d6f0fbd5b18888dba9bf3b9969038fc87d77b9cf3b82d7bb91e059349dc120b45b24d9adf6a8c9003a
diff --git a/dev-libs/skalibs/skalibs-2.6.1.0.ebuild b/dev-libs/skalibs/skalibs-2.6.1.0.ebuild
new file mode 100644
index 000000000000..f7134b79e0c7
--- /dev/null
+++ b/dev-libs/skalibs/skalibs-2.6.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 -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
+}