mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-text/groonga: drop old EAPI=5
Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST groonga-5.0.3.tar.gz 12421501 BLAKE2B 22b695fca6c4d0859b7a9ed5b1bc46be48493faa513524634662b0d520d1159bc70b4dc34d82ba83e5c57681f01f01dbe47d5a957f110eab2db65cf8eefe878f SHA512 c4595054f46e150b0b95b3d1fb6a18098c93471ee0cdeefc54d266a710db57d6b68a6aceb1a61ede5ebb4e1b5518be64b9b96809bd85634b61c84c1923cbf158
|
||||
DIST groonga-5.0.9.tar.gz 12851324 BLAKE2B a58084146e5e8fbcbc56f9737a3623b4385123cc449fb63b136f3f312d31d5574620831a4fa6e759381950ee6aa035e4d6a4c277c26c7d8ebb1e99fe5bf02e75 SHA512 6e89be8894737616cfcbd0edd92c94a25fb8a2f9c97bd0aab10c2d628664aa328384d6b953516fe96cec5b58fd229c42262caad4785ca9574c759d6d7177fba6
|
||||
DIST groonga-6.1.2.tar.gz 14028916 BLAKE2B c05a1a5a73bce63655eb588b3021570d22a0016837810c12813bb4f208bf9b114fc514a8887e4f756fb0ec27ad2c991eea026bf57391e9234e49ee084656d26c SHA512 cd2dd667608fac856b36a824c5ea285da937cc11b6d4e5ad2f84581f6fbc714b4bb381515ec7b467ddccfad77c77c080000def653d9cdd8725c0f512c7b83f20
|
||||
DIST groonga-8.0.2.tar.gz 15095427 BLAKE2B fa83034a434edaa35dede08cb042e48f15e1e2edd78a121f9341f53f53a5eef863d02e2ea6384428c720c4ff9acf1083504046c8c11a1ea8d7bfc4b541db66b5 SHA512 bc5590604054c4adfbc80b39c7cf367e8a989c47d80c37c48feffb9a427b4b4e360289f3d732f6affa7d26a1c8559f23bda1c70b6736a06601398fce9a53acf1
|
||||
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils libtool ltprune user
|
||||
|
||||
DESCRIPTION="An Embeddable Fulltext Search Engine"
|
||||
HOMEPAGE="http://groonga.org/"
|
||||
SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib"
|
||||
|
||||
RDEPEND="benchmark? ( >=dev-libs/glib-2.8 )
|
||||
libedit? ( >=dev-libs/libedit-3 )
|
||||
libevent? ( dev-libs/libevent )
|
||||
lzo? ( dev-libs/lzo )
|
||||
mecab? ( >=app-text/mecab-0.80 )
|
||||
msgpack? ( dev-libs/msgpack )
|
||||
sphinx? ( >=dev-python/sphinx-1.0.1 )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sphinx? ( dev-python/sphinx )"
|
||||
|
||||
REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup groonga
|
||||
enewuser groonga -1 -1 -1 groonga
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# httpd is a bundled copy of nginx; disabled for security reasons
|
||||
# prce only is used with httpd
|
||||
# kytea and libstemmer are not available in portage
|
||||
# ruby is only used for an http test
|
||||
econf \
|
||||
--disable-groonga-httpd \
|
||||
--without-pcre \
|
||||
--without-kytea \
|
||||
--without-libstemmer \
|
||||
--with-log-path="${EROOT}var/log/${PN}.log" \
|
||||
--docdir="${EROOT}usr/share/doc/${P}" \
|
||||
--without-ruby \
|
||||
$(use_enable abort) \
|
||||
$(use_enable benchmark) \
|
||||
$(use_enable debug memory-debug) \
|
||||
$(use_enable doc document) \
|
||||
$(use_enable dynamic-malloc-change) \
|
||||
$(use_enable exact-alloc-count) \
|
||||
$(use_enable fmalloc) \
|
||||
$(use_enable futex) \
|
||||
$(use_enable libedit) \
|
||||
$(use_with libevent) \
|
||||
$(use_with lzo) \
|
||||
$(use_with mecab) \
|
||||
$(use_with msgpack message-pack "${EROOT}usr") \
|
||||
$(use_enable nfkc) \
|
||||
$(use_with sphinx sphinx-build) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable uyield) \
|
||||
$(use_enable zeromq) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
keepdir /var/{log,lib}/${PN}
|
||||
fowners groonga:groonga /var/{log,lib}/${PN}
|
||||
|
||||
dodoc README.md
|
||||
|
||||
use examples || rm -r "${D}usr/share/${PN}" || die
|
||||
# Extra init script
|
||||
rm -r "${D}usr/sbin/groonga-httpd-restart" || die
|
||||
}
|
||||
@@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils libtool ltprune user
|
||||
|
||||
DESCRIPTION="An Embeddable Fulltext Search Engine"
|
||||
HOMEPAGE="http://groonga.org/"
|
||||
SRC_URI="http://packages.groonga.org/source/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="abort benchmark debug doc dynamic-malloc-change +exact-alloc-count examples fmalloc futex libedit libevent lzo mecab msgpack +nfkc sphinx static-libs uyield zeromq zlib"
|
||||
|
||||
RDEPEND="benchmark? ( >=dev-libs/glib-2.8 )
|
||||
libedit? ( >=dev-libs/libedit-3 )
|
||||
libevent? ( dev-libs/libevent )
|
||||
lzo? ( dev-libs/lzo )
|
||||
mecab? ( >=app-text/mecab-0.80 )
|
||||
msgpack? ( dev-libs/msgpack )
|
||||
sphinx? ( >=dev-python/sphinx-1.0.1 )
|
||||
zeromq? ( net-libs/zeromq )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
sphinx? ( dev-python/sphinx )"
|
||||
|
||||
REQUIRED_USE=" abort? ( dynamic-malloc-change ) fmalloc? ( dynamic-malloc-change ) sphinx? ( doc )"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup groonga
|
||||
enewuser groonga -1 -1 -1 groonga
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
elibtoolize
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# httpd is a bundled copy of nginx; disabled for security reasons
|
||||
# prce only is used with httpd
|
||||
# kytea and libstemmer are not available in portage
|
||||
# ruby is only used for an http test
|
||||
econf \
|
||||
--disable-groonga-httpd \
|
||||
--without-pcre \
|
||||
--without-kytea \
|
||||
--without-libstemmer \
|
||||
--with-log-path="${EROOT}var/log/${PN}.log" \
|
||||
--docdir="${EROOT}usr/share/doc/${P}" \
|
||||
--without-ruby \
|
||||
$(use_enable abort) \
|
||||
$(use_enable benchmark) \
|
||||
$(use_enable debug memory-debug) \
|
||||
$(use_enable doc document) \
|
||||
$(use_enable dynamic-malloc-change) \
|
||||
$(use_enable exact-alloc-count) \
|
||||
$(use_enable fmalloc) \
|
||||
$(use_enable futex) \
|
||||
$(use_enable libedit) \
|
||||
$(use_with libevent) \
|
||||
$(use_with lzo) \
|
||||
$(use_with mecab) \
|
||||
$(use_with msgpack message-pack "${EROOT}usr") \
|
||||
$(use_enable nfkc) \
|
||||
$(use_with sphinx sphinx-build) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable uyield) \
|
||||
$(use_enable zeromq) \
|
||||
$(use_with zlib)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
prune_libtool_files
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
keepdir /var/{log,lib}/${PN}
|
||||
fowners groonga:groonga /var/{log,lib}/${PN}
|
||||
|
||||
dodoc README.md
|
||||
|
||||
use examples || rm -r "${D}usr/share/${PN}" || die
|
||||
# Extra init script
|
||||
rm -r "${D}usr/sbin/groonga-httpd-restart" || die
|
||||
}
|
||||
Reference in New Issue
Block a user