mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-db/mysql-super-smack: Mark stable for amd64 and x86; drop old
Closes: https://bugs.gentoo.org/665852 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Brian Evans <grknight@gentoo.org>
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
WANT_AUTOMAKE="1.13"
|
||||
AUTOTOOLS_AUTORECONF="YES"
|
||||
#AUTOTOOLS_IN_SOURCE_BUILD="YES"
|
||||
|
||||
inherit eutils autotools-utils
|
||||
|
||||
MY_PN="super-smack"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Benchmarking, stress testing, and load generation tool for MySQL & PostGreSQL"
|
||||
HOMEPAGE="http://vegan.net/tony/supersmack/"
|
||||
SRC_URI="http://vegan.net/tony/supersmack/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="+mysql postgres"
|
||||
REQUIRED_USE="|| ( mysql postgres )"
|
||||
|
||||
DEPEND="mysql? ( virtual/mysql )
|
||||
postgres? ( dev-db/postgresql[server] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.2.destdir.patch
|
||||
"${FILESDIR}"/${PN}-1.3.amd64.patch
|
||||
"${FILESDIR}"/${PN}-1.3.gcc4.3.patch
|
||||
"${FILESDIR}"/${PN}-1.3-gen-data.patch
|
||||
"${FILESDIR}"/${PN}-1.3-automake-1.13.patch
|
||||
)
|
||||
DOCS=( CHANGES INSTALL MANUAL README TUTORIAL )
|
||||
|
||||
src_prepare() {
|
||||
# Clean up files so eautoreconf does not pick up any
|
||||
# deprecated autotools macros.
|
||||
rm acinclude.m4 aclocal.m4 acconfig.h config.status config.h || die
|
||||
mv configure.in configure.ac || die
|
||||
autotools-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(usex mysql --with-mysql "")
|
||||
$(usex postgres --with-pgsql "")
|
||||
--with-datadir=/var/tmp/${MY_PN}
|
||||
--with-smacks-dir=/usr/share/${MY_PN}
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The gen-data binary is now installed as super-smack-gen-data"
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -14,7 +14,7 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE="+mysql postgres"
|
||||
REQUIRED_USE="|| ( mysql postgres )"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user