diff options
author | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-05-05 11:18:51 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2020-05-05 11:18:51 +0200 |
commit | df218b782b8dae7100d25e6515576921e71bd061 (patch) | |
tree | 2a9152d834fc1b1e57e11da3cae87389c05a0493 /dev-libs | |
parent | dev-libs/octetos-core: simplify ebuilds (diff) | |
download | guru-df218b782b8dae7100d25e6515576921e71bd061.tar.gz guru-df218b782b8dae7100d25e6515576921e71bd061.tar.bz2 guru-df218b782b8dae7100d25e6515576921e71bd061.zip |
dev-libs/octetos-db-maria: simplify ebuild
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/octetos-db-maria/octetos-db-maria-1.2.2_beta.ebuild | 32 |
1 files 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 69205c95e..a50af6013 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 } |