From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/octetos-db-maria/
Date: Tue, 5 May 2020 09:56:00 +0000 (UTC) [thread overview]
Message-ID: <1588670331.df218b782b8dae7100d25e6515576921e71bd061.andrewammerlaan@gentoo> (raw)
Message-ID: <20200505095600.qbsNXJ04Yy9aNZy3DUKBJ-D-Q5HURcBFq36Glc-PgKs@z> (raw)
commit: df218b782b8dae7100d25e6515576921e71bd061
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue May 5 09:18:51 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 5 09:18:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df218b78
dev-libs/octetos-db-maria: simplify ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.../octetos-db-maria-1.2.2_beta.ebuild | 32 ++++++++++++----------
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/dev-libs/octetos-db-maria/octetos-db-maria-1.2.2_beta.ebuild b/dev-libs/octetos-db-maria/octetos-db-maria-1.2.2_beta.ebuild
index 69205c9..a50af60 100644
--- a/dev-libs/octetos-db-maria/octetos-db-maria-1.2.2_beta.ebuild
+++ b/dev-libs/octetos-db-maria/octetos-db-maria-1.2.2_beta.ebuild
@@ -2,28 +2,30 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
+inherit autotools
+
+MYPV="${PV/_beta/-alpha.6}"
+MYPN="${PN/-maria}"
+MYP="${MYPN}-${MYPV}"
+
DESCRIPTION="C++ library for Database Acces."
HOMEPAGE="https://github.com/azaeldevel/octetos-db"
-SRC_URI="https://github.com/azaeldevel/octetos-db/archive/1.2.2-alpha.6.tar.gz"
+SRC_URI="https://github.com/azaeldevel/${MYPN}/archive/${MYPV}.tar.gz"
+
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
+
IUSE=""
+
DEPEND="dev-libs/octetos-core dev-db/mariadb-connector-c"
RDEPEND="${DEPEND}"
BDEPEND=""
-src_unpack() {
- unpack ${A}
- ln -s octetos-db-1.2.2-alpha.6 $P
-}
-src_configure() {
- autoreconf -fi
- if [[ -x ${ECONF_SOURCE:-.}/configure ]] ; then
- econf --with-mariadb
- fi
-}
-src_compile() {
- if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
- emake || die "emake failed"
- fi
+
+S="${WORKDIR}/${MYP}"
+
+src_prepare() {
+ default
+ eautoreconf -fi
}
next reply other threads:[~2020-05-05 9:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-05 9:19 Andrew Ammerlaan [this message]
2020-05-05 9:56 ` [gentoo-commits] repo/proj/guru:master commit in: dev-libs/octetos-db-maria/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2021-05-25 8:10 [gentoo-commits] repo/proj/guru:dev " Anna Vyalkova
2021-05-11 7:42 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-11 7:42 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-11 7:39 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-11 7:38 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-11 2:48 Azael Reyes
2021-01-05 8:05 Azael Reyes
2020-12-23 10:13 Theo Anderson
2020-11-03 3:56 Azael Reyes
2020-08-17 10:17 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-08-17 10:09 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-08-16 23:56 Azael Reyes
2020-05-05 9:37 Andrew Ammerlaan
2020-05-05 2:28 Azael Reyes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1588670331.df218b782b8dae7100d25e6515576921e71bd061.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox