public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-lua/luvit: metadata.xml ChangeLog luvit-0.6_p20121221.ebuild luvit-9999.ebuild Manifest
@ 2013-01-01 16:36 Julian Ospald (hasufell)
  0 siblings, 0 replies; only message in thread
From: Julian Ospald (hasufell) @ 2013-01-01 16:36 UTC (permalink / raw
  To: gentoo-commits

hasufell    13/01/01 16:36:54

  Added:                metadata.xml ChangeLog luvit-0.6_p20121221.ebuild
                        luvit-9999.ebuild Manifest
  Log:
  initial import wrt #406403
  
  (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)

Revision  Changes    Path
1.1                  dev-lua/luvit/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
	<maintainer>
		<email>hasufell@gentoo.org</email>
		<name>Julian Ospald</name>
	</maintainer>
	<use>
		<flag name='system-libs'>Use system version of <pkg>dev-libs/yajl</pkg>.</flag>
	</use>
</pkgmetadata>




1.1                  dev-lua/luvit/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-lua/luvit
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/ChangeLog,v 1.1 2013/01/01 16:36:54 hasufell Exp $

*luvit-9999 (01 Jan 2013)
*luvit-0.6_p20121221 (01 Jan 2013)

  01 Jan 2013; Julian Ospald <hasufell@gentoo.org> +luvit-0.6_p20121221.ebuild,
  +luvit-9999.ebuild:
  initial import wrt #406403




1.1                  dev-lua/luvit/luvit-0.6_p20121221.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-0.6_p20121221.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-0.6_p20121221.ebuild?rev=1.1&content-type=text/plain

Index: luvit-0.6_p20121221.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-0.6_p20121221.ebuild,v 1.1 2013/01/01 16:36:54 hasufell Exp $

EAPI=5

inherit toolchain-funcs multilib

# TODO: FHS https://github.com/luvit/luvit/issues/379

DESCRIPTION="Takes node.js' architecture and dependencies and fits it in the Lua language"
HOMEPAGE="http://luvit.io/"
SRC_URI="http://dev.gentoo.org/~hasufell/distfiles/${P}.tar.xz"

KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="examples +system-libs"
# luvit Apache-2.0
# luajit MIT
# yajl BSD
LICENSE="Apache-2.0 MIT !system-libs? ( BSD )"

# fails in portage environment
# succeeds if run manually
RESTRICT="test"

RDEPEND="
	dev-libs/openssl:0
	sys-libs/zlib
	system-libs? (
		>=dev-libs/yajl-2.0.2
	)"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	if use system-libs ; then
		MY_YAJL_VERSION=$(pkg-config --modversion yajl)
		sed -i \
			-e "s:^YAJL_VERSION=.*:YAJL_VERSION=${MY_YAJL_VERSION}:" \
			Makefile || die "setting yajl version failed"
	fi

	sed -i \
		-e "s/-Werror//" \
		-e "s/-O3//" \
		deps/http-parser/Makefile || die "fixing flags failed!"
}

src_configure() {
	# skip retarded gyp build system
	:
}

src_compile() {
	tc-export CC AR

	myemakeargs=(
		DEBUG=0
		WERROR=0
		USE_SYSTEM_SSL=1
		# bundled luajit is compiled with special flags
		USE_SYSTEM_LUAJIT=0
		USE_SYSTEM_ZLIB=1
		USE_SYSTEM_YAJL=$(usex system-libs "1" "0")
		PREFIX=/usr
		LIBDIR="${D}"/usr/$(get_libdir)/${PN}
		DESTDIR="${D}"
	)

	emake "${myemakeargs[@]}" all
}

src_install() {
	emake "${myemakeargs[@]}" install
	dodoc TODO ChangeLog README.markdown errors.markdown

	if use examples ; then
		dodoc -r examples
		docompress -x /usr/share/doc/${PF}/examples
	fi
}



1.1                  dev-lua/luvit/luvit-9999.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild?rev=1.1&content-type=text/plain

Index: luvit-9999.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lua/luvit/luvit-9999.ebuild,v 1.1 2013/01/01 16:36:54 hasufell Exp $

EAPI=5

inherit toolchain-funcs multilib git-2

# TODO: FHS https://github.com/luvit/luvit/issues/379

DESCRIPTION="Takes node.js' architecture and dependencies and fits it in the Lua language"
HOMEPAGE="http://luvit.io/"
EGIT_REPO_URI="git://github.com/luvit/luvit.git"

KEYWORDS=""
SLOT="0"
IUSE="examples +system-libs"
# luvit Apache-2.0
# luajit MIT
# yajl BSD
LICENSE="Apache-2.0 MIT !system-libs? ( BSD )"

# fails in portage environment
# succeeds if run manually
RESTRICT="test"

RDEPEND="
	dev-libs/openssl:0
	sys-libs/zlib
	system-libs? (
		>=dev-libs/yajl-2.0.2
	)"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

EGIT_HAS_SUBMODULES=1

src_prepare() {
	if use system-libs ; then
		MY_YAJL_VERSION=$(pkg-config --modversion yajl)
	else
		MY_YAJL_VERSION=$(git --git-dir deps/yajl/.git describe --tags)
	fi
	MY_HTTP_VERSION=$(git --git-dir deps/http-parser/.git describe --tags)
	MY_UV_VERSION=$(git --git-dir deps/uv/.git describe --all --long | cut -f 3 -d -)

	sed \
		-e "s:^YAJL_VERSION=.*:YAJL_VERSION=${MY_YAJL_VERSION}:" \
		-e "s:^LUAJIT_VERSION=.*:LUAJIT_VERSION=${MY_LUAJIT_VERSION}:" \
		-e "s:^HTTP_VERSION=.*:HTTP_VERSION=${MY_HTTP_VERSION}:" \
		-e "s:^UV_VERSION.*:UV_VERSION=${MY_UV_VERSION}:" \
		-i Makefile || die "sed failed"

	sed -i \
		-e "s/-Werror//" \
		-e "s/-O3//" \
		deps/http-parser/Makefile || die "fixing flags failed!"
}

src_configure() {
	# skip retarded gyp build system
	:
}

src_compile() {
	tc-export CC AR

	myemakeargs=(
		DEBUG=0
		WERROR=0
		USE_SYSTEM_SSL=1
		# bundled luajit is compiled with special flags
		USE_SYSTEM_LUAJIT=0
		USE_SYSTEM_ZLIB=1
		USE_SYSTEM_YAJL=$(usex system-libs "1" "0")
		PREFIX=/usr
		LIBDIR="${D}"/usr/$(get_libdir)/${PN}
		DESTDIR="${D}"
	)

	emake "${myemakeargs[@]}" all
}

src_install() {
	emake "${myemakeargs[@]}" install
	dodoc TODO ChangeLog README.markdown errors.markdown

	if use examples ; then
		dodoc -r examples
		docompress -x /usr/share/doc/${PF}/examples
	fi
}



1.1                  dev-lua/luvit/Manifest

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/Manifest?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lua/luvit/Manifest?rev=1.1&content-type=text/plain

Index: Manifest
===================================================================
DIST luvit-0.6_p20121221.tar.xz 21018492 SHA256 a7189b44ccde2a97b5a4b40381efaaf8ffd50348c00d463645ef60db92f36ab7 SHA512 83622cedd20a8e20e42bfa1d346d35355bc1b72ac92258b5146fbafb92cee3a11399059b3cfc6fde86e7613dd7c1ece287c8a774ccfe59f691ea6f1d87bef5da WHIRLPOOL ff84a6e2a0dc900b3439c5a53807cc2988e6172cfc9f131a3f9334b1fc18a02a025fdea6cbcc6e8c407fb5aa9f0edd75adc2e968c1264865d87b37a40862afde
EBUILD luvit-0.6_p20121221.ebuild 1683 SHA256 9d5cbb771b6eacf418b1b57361f5d5ce28a5fa400d3cf1f31f9a22cbc33922d1 SHA512 c9316b7162d21b1c5bbecbe6e2acf406ea20ac5ef6de07c2bfb417da098f324d3b5d0128ab58224a0e59acc98aa62e4174d50b287429887b843d59f3ede334f5 WHIRLPOOL b95e36bba2069ed08df8514b87548a3e042a0e9fc2fdccdfcd0ea32556c4560b8d31714235095206532f72e8d1dca2f9f9bb55c40da381f0267c0c7e246fc7c3
EBUILD luvit-9999.ebuild 2076 SHA256 f5505e0c20de95ee0d8158af88b368162d04883f5a0744feff06ac14cc09a955 SHA512 94900464d3c3f0aeb549c7d9d74384067528b715733c128ee47c46f5537415ab5f796f4c74bb0a4bc38359fa859402763ea352b620126a5a580939c7dabac5cd WHIRLPOOL 9bb002d05b710c0353a23e559dadae86a1fed98dd3544f2d039c82227871bd4e0b3131ed31f55fd08b8bd009ef353a8de5c1968523cf08182c8cdf298a0ba788
MISC ChangeLog 308 SHA256 d5dadf2f962e8dfad9708dec2bc9a0d4073e633713a53cbe4e5d36184fa31646 SHA512 79efa51cbe79830eadac9824503f3ce937cb3091f9cb409808a3379f8cb38a1108d774222022e842846ab84f7c147aa17928c2084b69c0251214a8577c2d87b0 WHIRLPOOL 6308d374f9d1d454e96695d37f4e468144f95325e1618b8f1ad1ba6eacb5604720438c776e39b867b5303eda1c13e4811e10a9630b28d62ea48c44df08c552de
MISC metadata.xml 332 SHA256 18b5a85190654581fe289657b4a617df998569967862d37fcd723abd2c611b22 SHA512 3b82d0f1a3096f7b0c90f222fe61d4f2979fee522ec6774d20c5043f7612ebd865fe85777cf8c1f59d2aa8d76a94e1d7674a0f026d81a96f2de149eb3d1afbe7 WHIRLPOOL 6955ea0c23a1ac5566d3341ec56999486baa6acff203220b65836220a01c50eab49193ae99ac6a6022f36136b27b1ce16f8f6c933e755d2f5f2fd33483d65d38





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-01 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-01 16:36 [gentoo-commits] gentoo-x86 commit in dev-lua/luvit: metadata.xml ChangeLog luvit-0.6_p20121221.ebuild luvit-9999.ebuild Manifest Julian Ospald (hasufell)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox