Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 232223 Details for
Bug 313005
dev-lang/luajit-2.0.0_beta4 ebuild submission
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
add custom cflags and ldflags
luajit-2.0.0_beta4.ebuild (text/plain), 1.08 KB, created by
H. Gabriel Máculus
on 2010-05-20 13:18:22 UTC
(
hide
)
Description:
add custom cflags and ldflags
Filename:
MIME Type:
Creator:
H. Gabriel Máculus
Created:
2010-05-20 13:18:22 UTC
Size:
1.08 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit pax-utils eutils versionator > >DESCRIPTION="LuaJIT - A Just-In-Time Compiler for Lua Programming Language" > >HOMEPAGE="http://luajit.org/luajit.html" > >MYPV=$(replace_version_separator 3 -) > >SRC_URI="http://luajit.org/download/LuaJIT-${MYPV}.tar.gz" > >LICENSE="MIT" > >SLOT="2" > >KEYWORDS="~x86 ~amd64" > >DEPEND="${RDEPEND}" > >RDEPEND="" > >src_compile() { > cd "LuaJIT-${MYPV}" > # fixing prefix and version > sed -i -e "s#/usr/local#${D}/usr#" \ > -e "s/VERSION=.*/VERSION= ${PV}/" Makefile || die "sed failed!" > sed -i -e 's#/usr/local/#/usr/#' src/luaconf.h || die "sed failed!" > > # removing strip > sed -i -e '/$(Q)$(TARGET_STRIP)/d' src/Makefile || die "sed failed!" > > emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed" >} > >src_install() { > cd "LuaJIT-${MYPV}" > emake INSTALL_TOP="${D}" DESTDIR="${D}" PREFIX=/usr install || die "emake install failed" > pax-mark m "${D}usr/bin/luajit-${PV}" > dosym "/usr/bin/luajit-${PV}" "/usr/bin/luajit-${SLOT}" > >}
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 313005
:
226459
|
231575
|
231577
|
232101
| 232223 |
248938