Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 318262 Details for
Bug 426758
luasql-2.3.0.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
luasql-2.3.0.ebuild
luasql-2.3.0.ebuild (text/plain), 1.65 KB, created by
Ivan L. Isaev
on 2012-07-15 23:23:53 UTC
(
hide
)
Description:
luasql-2.3.0.ebuild
Filename:
MIME Type:
Creator:
Ivan L. Isaev
Created:
2012-07-15 23:23:53 UTC
Size:
1.65 KB
patch
obsolete
># $Header: $ > >EAPI="4" > >inherit multilib toolchain-funcs flag-o-matic eutils git-2 > >DESCRIPTION="Database connectivity for the Lua programming language" >HOMEPAGE="http://www.keplerproject.org/luasql/" >EGIT_REPO_URI="git://github.com/keplerproject/luasql.git" >EGIT_BRANCH="master" >EGIT_HAS_SUBMODULES="true" >EGIT_PROJECT=${P} >if [ "${PV}" != "9999" ]; then > EGIT_COMMIT="v${PV}" >fi > >LICENSE="Kepler" >SLOT="0" >KEYWORDS="x86 amd64" > >MODULES="sqlite sqlite3 mysql postgres odbc firebird" >IUSE="${MODULES}" > >DEPEND=" > sqlite? ( dev-db/sqlite:0 ) > sqlite3? ( dev-db/sqlite:3 ) > mysql? ( virtual/mysql ) > odbc? ( dev-db/unixODBC ) > firebird? ( dev-db/firebird ) > postgres? ( virtual/postgresql-base )" > >src_compile(){ > local libs > local incs="" > > "${S}/config" > > for mod in ${MODULES}; do > if use ${mod}; then > [ ${mod} == sqlite ] && libs="-lsqlite" > [ ${mod} == sqlite3 ] && libs="-lsqlite3" > [ ${mod} == mysql ] && libs="-lmysqlclient -lz" && incs="-I/usr/include/mysql" > [ ${mod} == odbc ] && libs="-L/usr/lib -lodbc" && incs="-DUNIXODBC" > [ ${mod} == postgres ] && libs="-lpq" && incs="-I/usr/include/postgresql" > [ ${mod} == firebird ] && libs="-lfbclient" > > emake T=${mod} \ > LUA_VERSION_NUM=${LUAVER_MAJOR}0${LUAVER_MINOR} \ > LIB_OPTION="-shared" \ > LIBNAME="${mod}.so" \ > CFLAGS="${CFLAGS} ${incs} -fPIC" \ > DRIVER_LIBS="${libs}" \ > || die "Compiling driver '${mod}' failed" > fi > done >} > >src_install(){ > for mod in ${MODULES}; do > if use ${mod}; then > einfo "install ${mod} module" > emake LIBNAME="${mod}.so" \ > LUA_LIBDIR="${D}/$(pkg-config --variable INSTALL_CMOD lua)" install\ > || die "Install of driver '${mod}' failed" > fi > done >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 426758
: 318262 |
318264