diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-01 12:13:59 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2012-03-01 12:13:59 +0000 |
commit | bac4880add7cff8454cd7b62f556b48594bc9cb5 (patch) | |
tree | e71cc740af6ac80d962d5f243e000f802a50e391 /dev-lua | |
parent | Version bump. (diff) | |
download | gentoo-2-bac4880add7cff8454cd7b62f556b48594bc9cb5.tar.gz gentoo-2-bac4880add7cff8454cd7b62f556b48594bc9cb5.tar.bz2 gentoo-2-bac4880add7cff8454cd7b62f556b48594bc9cb5.zip |
Remove old version of luadbi.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luadbi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-lua/luadbi/luadbi-0.5.ebuild | 68 |
2 files changed, 5 insertions, 70 deletions
diff --git a/dev-lua/luadbi/ChangeLog b/dev-lua/luadbi/ChangeLog index 15efbf7fc84f..5f70168a857b 100644 --- a/dev-lua/luadbi/ChangeLog +++ b/dev-lua/luadbi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lua/luadbi -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.2 2011/05/02 16:37:07 djc Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.3 2012/03/01 12:13:59 djc Exp $ + + 01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> -luadbi-0.5.ebuild: + Remove old version. *luadbi-0.5-r1 (02 May 2011) diff --git a/dev-lua/luadbi/luadbi-0.5.ebuild b/dev-lua/luadbi/luadbi-0.5.ebuild deleted file mode 100644 index f749bd58ddf3..000000000000 --- a/dev-lua/luadbi/luadbi-0.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/luadbi-0.5.ebuild,v 1.1 2011/04/08 16:37:09 djc Exp $ - -EAPI=2 - -inherit multilib toolchain-funcs flag-o-matic eutils - -DESCRIPTION="DBI module for Lua" -HOMEPAGE="http://code.google.com/p/luadbi/" -SRC_URI="http://luadbi.googlecode.com/files/${PN}.${PV}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mysql postgres sqlite" - -RDEPEND=">=dev-lang/lua-5.1 - mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql-base ) - sqlite? ( >=dev-db/sqlite-3 )" -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -S="${WORKDIR}" - -src_prepare() { - epatch "${FILESDIR}/${PVR}-Makefile.patch" - sed -i -e "s#^INSTALL_DIR_LUA=.*#INSTALL_DIR_LUA=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/Makefile" - sed -i -e "s#^INSTALL_DIR_BIN=.*#INSTALL_DIR_BIN=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/Makefile" - sed -i -e "s#^LUA_INC_DIR=.*#LUA_INC_DIR=$(pkg-config --variable INSTALL_INC lua)#" "${S}/Makefile" - sed -i -e "s#^LUA_LIB_DIR=.*#LUA_LIB_DIR=$(pkg-config --variable INSTALL_LIB lua)#" "${S}/Makefile" - sed -i -e "s#^LUA_LIB =.*#LUA_LIB=lua#" "${S}/Makefile" -} - -src_compile() { - local drivers="" - use mysql && drivers="${drivers} mysql" - use postgres && drivers="${drivers} psql" - use sqlite && drivers="${drivers} sqlite3" - - if [ -z "${drivers// /}" ] ; then - eerror - eerror "No driver was selected, cannot build." - eerror "Please set USE flags to build any driver." - eerror "Possible USE flags: mysql postgres sqlite" - eerror - die "No driver selected" - fi - - append-flags -fPIC -c - for driver in "${drivers}" ; do - emake ${driver} \ - || die "Compiling driver '${drivers// /}' failed" - done -} - -src_install() { - local drivers="" - use mysql && drivers="${drivers} mysql" - use postgres && drivers="${drivers} psql" - use sqlite && drivers="${drivers} sqlite3" - - for driver in ${drivers} ; do - emake DESTDIR="${D}" "install_${driver// /}" \ - || die "Install of driver '${drivers// /}' failed" - done -} |