diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2019-10-14 02:31:17 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-10-20 13:33:38 +0200 |
commit | d1b21c4f9eb2eb7ddd3616a7b73f906deef0b5fe (patch) | |
tree | 610116f35f8d13e424456b159179feb438065ee8 /dev-util/ragel | |
parent | games-misc/cowsay: Drop old 3.03-r2 (diff) | |
download | gentoo-d1b21c4f9eb2eb7ddd3616a7b73f906deef0b5fe.tar.gz gentoo-d1b21c4f9eb2eb7ddd3616a7b73f906deef0b5fe.tar.bz2 gentoo-d1b21c4f9eb2eb7ddd3616a7b73f906deef0b5fe.zip |
dev-util/ragel: disable static library
Closes: https://github.com/gentoo/gentoo/pull/13291
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/ragel')
-rw-r--r-- | dev-util/ragel/ragel-7.0.0.10-r2.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-util/ragel/ragel-7.0.0.10-r2.ebuild b/dev-util/ragel/ragel-7.0.0.10-r2.ebuild new file mode 100644 index 000000000000..3f818c0e512c --- /dev/null +++ b/dev-util/ragel/ragel-7.0.0.10-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Compiles finite state machines from regular languages into executable code" +HOMEPAGE="https://www.colm.net/open-source/ragel/" +SRC_URI="https://www.colm.net/files/ragel/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86 ~amd64-linux ~x86-linux" +IUSE="vim-syntax" + +DEPEND="~dev-util/colm-0.13.0.5" +RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-use-pkginclude.patch" ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf --disable-static +} + +src_test() { + cd "${S}"/test || die + ./runtests.in || die +} + +src_install() { + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins ragel.vim + fi + default + find "${D}" -name '*.la' -delete || die +} |