Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503796 - dev-libs/cre2 - a C binding for the re2 regular expression library
Summary: dev-libs/cre2 - a C binding for the re2 regular expression library
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/marcomaggi/cre2/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-03-07 23:52 UTC by Vladimir Lushnikov
Modified: 2014-03-08 01:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cre2-0.1_beta5.ebuild (cre2-0.1_beta5.ebuild,739 bytes, text/plain)
2014-03-07 23:52 UTC, Vladimir Lushnikov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Lushnikov 2014-03-07 23:52:07 UTC
cre2 is a C binding to the C++ re2 regular expression library (dev-libs/re2, already in portage). 

Project url: https://github.com/marcomaggi/cre2

Reproducible: Always
Comment 1 Vladimir Lushnikov 2014-03-07 23:52:55 UTC
Created attachment 372024 [details]
cre2-0.1_beta5.ebuild
Comment 2 Vladimir Lushnikov 2014-03-07 23:55:36 UTC
Unfortunately, my ebuild-fu is not strong enough to figure out how to save the tarball as something other than 0.1b5.tar.gz.

Also, the attached ebuild should be named cre2-0.1_beta5.ebuild

Let me know if I need to make any changes to get it accepted.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-08 01:49:47 UTC
Comment on attachment 372024 [details]
cre2-0.1_beta5.ebuild

>inherit autotools eutils flag-o-matic versionator

Doesn't look like versionator.eclass is being used.

>MY_PV="${PV%%_beta*}b${PV##*_beta}"
>MY_P="${PN}-${MY_PV}"
>
>DESCRIPTION="A C language wrapper for the RE2 regular expression library"
>HOMEPAGE="https://github.com/marcomaggi/cre2/"
>SRC_URI="https://github.com/marcomaggi/${PN}/archive/${MY_PV}.tar.gz"

>IUSE="static"

You probably meant "static-libs" here.

>src_configure() {
>	econf \
>		--enable-maintainer-mode \
>		$(use_enable static static)
>}

Why do you run that with --enable-maintainer-mode?

>src_compile() {
>	emake
>}

That's the default src_compile, so you can remove that.

>src_install() {
>	default
>}

Same here.