diff options
author | Michael Palimaka <kensington@gentoo.org> | 2013-02-26 11:10:28 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2013-02-26 11:10:28 +0000 |
commit | 82cdce92a85c73a55e91f61d924963f857529e84 (patch) | |
tree | 4a86662b881d34fa2f34156f733984661466555f /dev-lua | |
parent | fix doc path thanks to Chris Mayo <aklhfex@gmail.com> (diff) | |
download | gentoo-2-82cdce92a85c73a55e91f61d924963f857529e84.tar.gz gentoo-2-82cdce92a85c73a55e91f61d924963f857529e84.tar.bz2 gentoo-2-82cdce92a85c73a55e91f61d924963f857529e84.zip |
Remove old.
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luadbi/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lua/luadbi/files/0.5-Makefile.patch | 39 | ||||
-rw-r--r-- | dev-lua/luadbi/luadbi-0.5-r1.ebuild | 59 |
3 files changed, 5 insertions, 99 deletions
diff --git a/dev-lua/luadbi/ChangeLog b/dev-lua/luadbi/ChangeLog index d84a2cf9b10e..5942e68648ba 100644 --- a/dev-lua/luadbi/ChangeLog +++ b/dev-lua/luadbi/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lua/luadbi # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.12 2013/02/26 10:59:35 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/ChangeLog,v 1.13 2013/02/26 11:10:27 kensington Exp $ + + 26 Feb 2013; Michael Palimaka <kensington@gentoo.org> + -files/0.5-Makefile.patch, -luadbi-0.5-r1.ebuild: + Remove old. 26 Feb 2013; Agostino Sarubbo <ago@gentoo.org> luadbi-0.5-r2.ebuild: Stable for x86, wrt bug #436648 diff --git a/dev-lua/luadbi/files/0.5-Makefile.patch b/dev-lua/luadbi/files/0.5-Makefile.patch deleted file mode 100644 index e24cb342e06c..000000000000 --- a/dev-lua/luadbi/files/0.5-Makefile.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- Makefile.old 2010-07-16 08:22:13.000000000 +0200 -+++ Makefile 2011-01-08 11:35:16.000000000 +0100 -@@ -27,6 +27,14 @@ - DB2_OBJS=$(OBJS) build/dbd_db2_main.o build/dbd_db2_connection.o build/dbd_db2_statement.o - ORACLE_OBJS=$(OBJS) build/dbd_oracle_main.o build/dbd_oracle_connection.o build/dbd_oracle_statement.o - -+INSTALL = install -+INSTALL_PROGRAM = $(INSTALL) -+INSTALL_DATA = $(INSTALL) -m 644 -+LUA_INC_DIR=/usr/include/lua5.1 -+LUA_LIB_DIR=/usr/lib -+INSTALL_DIR_LUA=/usr/share/lua/5.1 -+INSTALL_DIR_BIN=/usr/lib/lua/5.1 -+ - free: mysql psql sqlite3 - - all: mysql psql sqlite3 db2 oracle -@@ -90,3 +98,21 @@ - build: - $(MKDIR) ${BUILDDIR} - -+install_lua: -+ $(INSTALL_DATA) -D DBI.lua $(DESTDIR)$(INSTALL_DIR_LUA)/DBI.lua -+ -+install_mysql: mysql install_lua -+ $(INSTALL_PROGRAM) -D $(DBDMYSQL) $(DESTDIR)$(INSTALL_DIR_BIN)/$(DBDMYSQL) -+ -+install_psql: psql install_lua -+ $(INSTALL_PROGRAM) -D $(DBDPSQL) $(DESTDIR)$(INSTALL_DIR_BIN)/$(DBDPSQL) -+ -+install_sqlite3: sqlite3 install_lua -+ $(INSTALL_PROGRAM) -D $(DBDSQLITE3) $(DESTDIR)$(INSTALL_DIR_BIN)/$(DBDSQLITE3) -+ -+install_db2: db2 install_lua -+ $(INSTALL_PROGRAM) -D $(DBDDB2) $(DESTDIR)$(INSTALL_DIR_BIN)/$(DBDDB2) -+ -+install_oracle: oracle install_lua -+ $(INSTALL_PROGRAM) -D $(DBDORACLE) $(DESTDIR)$(INSTALL_DIR_BIN)/$(DBDORACLE) -+ diff --git a/dev-lua/luadbi/luadbi-0.5-r1.ebuild b/dev-lua/luadbi/luadbi-0.5-r1.ebuild deleted file mode 100644 index c2e0b8e7713e..000000000000 --- a/dev-lua/luadbi/luadbi-0.5-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lua/luadbi/luadbi-0.5-r1.ebuild,v 1.6 2012/12/31 09:49:27 djc Exp $ - -EAPI=4 - -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" -REQUIRED_USE="|| ( mysql postgres sqlite )" - -RDEPEND=">=dev-lang/lua-5.1 - mysql? ( virtual/mysql ) - postgres? ( dev-db/postgresql-base ) - sqlite? ( >=dev-db/sqlite-3 )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}" - -src_prepare() { - epatch "${FILESDIR}/${PV}-Makefile.patch" - epatch "${FILESDIR}/${PV}-postgres-path.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" - - append-flags -fPIC -c - for driver in "${drivers}" ; do - emake CC="$(tc-getCC)" COMMON_LDFLAGS="${LDFLAGS}" ${driver} - 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// /}" - done -} |