Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131076 Details for
Bug 135419
dev-neko/neko-1.3.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
neko-1.6.0 ebuild
neko-1.6.0.ebuild (text/plain), 1.63 KB, created by
Adam Penser
on 2007-09-16 19:55:43 UTC
(
hide
)
Description:
neko-1.6.0 ebuild
Filename:
MIME Type:
Creator:
Adam Penser
Created:
2007-09-16 19:55:43 UTC
Size:
1.63 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="Neko is a high-level dynamically typed programming language." >HOMEPAGE="http://nekovm.org/" >SRC_URI="http://nekovm.org/_media/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="apache mysql sqlite" > >DEPEND="dev-libs/boehm-gc" >RDEPEND="" > >pkg_setup() { > # Check for threads enable for boehm-gc > ewarn "Checking USE flags of dependencies... one moment" > if ! built_with_use dev-libs/boehm-gc threads; then > eerror "Re-emerge dev-libs/boehm-gc with the 'threads' USE flag" > die > fi >} > >src_compile() { > # Note: The Neko build system doesn't seem to provide a method for choosing > # compile-time options, such as including/excluding mysql support. Instead, > # it basically scans a directory for other directories and compiles whatever > # is in them. So, the simplest way to exclude an optional library such as > # mysql and apache is to remove the appropriate directory. And that is what > # I've done below. > if [ $(use mysql) -z ] > then > rm -fR ${S}/libs/mysql || die "Unable to disable mysql!" > fi > > if [ $(use apache) -z ] > then > rm -fR ${S}/libs/mod_neko || die "Unable to disable apache!" > fi > > if [ $(use sqlite) -z ] > then > rm -fR ${S}/libs/sqlite || die "Unable to disable sqlite!" > fi > > emake || die "emake failed" >} > >src_install() { > dolib bin/libneko.so > dobin bin/{neko,nekoc,nekotools} > insinto /usr/local/include > doins vm/neko*.h > insinto /usr/local/lib/neko > doins bin/*.ndll >} > >pkg_postinst() { > einfo "To setup neko environment now, execute" > einfo "'env-update; source /etc/profile'" >}
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 135419
:
88284
|
88285
|
88286
| 131076 |
138359
|
138360
|
138362
|
138364