diff options
author | William Hubbs <williamh@gentoo.org> | 2011-04-05 23:23:41 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-04-05 23:23:41 +0000 |
commit | 6eabf7ecf37bf488007b427e29f3144ad2f776b2 (patch) | |
tree | 22ef73363a8b81ed3f06b1e08b79623ac5c31eb3 /dev-lua/LuaBitOp | |
parent | Update ChangeLog :| (diff) | |
download | gentoo-2-6eabf7ecf37bf488007b427e29f3144ad2f776b2.tar.gz gentoo-2-6eabf7ecf37bf488007b427e29f3144ad2f776b2.tar.bz2 gentoo-2-6eabf7ecf37bf488007b427e29f3144ad2f776b2.zip |
initial commit
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'dev-lua/LuaBitOp')
-rw-r--r-- | dev-lua/LuaBitOp/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild | 42 | ||||
-rw-r--r-- | dev-lua/LuaBitOp/metadata.xml | 14 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-lua/LuaBitOp/ChangeLog b/dev-lua/LuaBitOp/ChangeLog new file mode 100644 index 000000000000..84528dc1f7c3 --- /dev/null +++ b/dev-lua/LuaBitOp/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lua/LuaBitOp +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/ChangeLog,v 1.1 2011/04/05 23:23:41 williamh Exp $ + +*LuaBitOp-1.0.1 (05 Apr 2011) + + 05 Apr 2011; William Hubbs <williamh@gentoo.org> +LuaBitOp-1.0.1.ebuild, + +metadata.xml: + initial commit + diff --git a/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild b/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild new file mode 100644 index 000000000000..997a950ed79c --- /dev/null +++ b/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/LuaBitOp/LuaBitOp-1.0.1.ebuild,v 1.1 2011/04/05 23:23:41 williamh Exp $ + +EAPI="4" +inherit multilib + +DESCRIPTION="Bit Operations Library for the Lua Programming Language" +HOMEPAGE="http://bitop.luajit.org" +SRC_URI="http://bitop.luajit.org/download/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="=dev-lang/lua-5.1*" +RDEPEND="${DEPEND}" + +src_prepare() +{ + sed -i \ + -e "/^CC=/d" \ + -e "/^INCLUDES=/d" \ + -e "/^CFLAGS=/s|=| +=|" \ + -e "s|/usr/local|/usr|" \ + -e "s|-O2 -fomit-frame-pointer||" \ + -e "s|\$(INCLUDES)||" \ + Makefile || die "sed failed" +} + +src_compile() +{ + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" +} + +src_install() +{ + exeinto /usr/$(get_libdir)/lua/5.1 +doexe bit.so + dohtml -r doc/* +} diff --git a/dev-lua/LuaBitOp/metadata.xml b/dev-lua/LuaBitOp/metadata.xml new file mode 100644 index 000000000000..fe6ed829fe2f --- /dev/null +++ b/dev-lua/LuaBitOp/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + This is a library for the Lua programming language which performs bit + operations. + </longdescription> +</pkgmetadata> + |