diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-09-07 03:21:17 +0300 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-09-07 03:21:17 +0300 |
commit | 6e8daf9cc75c54e7f2945eff80337260c69d9bbc (patch) | |
tree | dd61ee951985bf1791c2f22b0916daf4964d518e | |
parent | Add swfdec-9999 and swfdec-mozilla-9999. (diff) | |
download | hawking-6e8daf9cc75c54e7f2945eff80337260c69d9bbc.tar.gz hawking-6e8daf9cc75c54e7f2945eff80337260c69d9bbc.tar.bz2 hawking-6e8daf9cc75c54e7f2945eff80337260c69d9bbc.zip |
Added luasignal
-rw-r--r-- | dev-lua/luasignal/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/luasignal/luasignal-1.000.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-lua/luasignal/Manifest b/dev-lua/luasignal/Manifest new file mode 100644 index 0000000..5cb1b36 --- /dev/null +++ b/dev-lua/luasignal/Manifest @@ -0,0 +1,2 @@ +DIST lua_signalv1.000.tar.gz 4117 RMD160 38d0811546b9e8c4ef42601cb9dbc1c70ee31332 SHA1 885f85fc96088cd19c82c2a0a4610532c0199f46 SHA256 57a4b376350718be87a5a6410cc78d27f2740d6d80c784288bc15bb4329192b2 +EBUILD luasignal-1.000.ebuild 675 RMD160 1203f7c117d29dfdc57bf39192ecb81e1e6b8149 SHA1 3282cbb95ae46bc76a326c0273a3e559dd583f66 SHA256 703f47069e082e600ab5edc08f3bebc3f64235b5cd54d2561d2267d1a16fca73 diff --git a/dev-lua/luasignal/luasignal-1.000.ebuild b/dev-lua/luasignal/luasignal-1.000.ebuild new file mode 100644 index 0000000..c0b10d9 --- /dev/null +++ b/dev-lua/luasignal/luasignal-1.000.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit lua toolchain-funcs + +MY_PN="lua_signal" + +DESCRIPTION="A signal library for Lua 5.1." +HOMEPAGE="http://luaforge.net/projects/luasignal/" +SRC_URI="http://luaforge.net/frs/download.php/2988/${MY_PN}v${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="=dev-lang/lua-5.1*" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +src_compile() { + $(tc-getCC) -fPIC -shared ${CFLAGS} ${LDFLAGS} lsignal.c -o signal.so ||\ + die "failed to compile luasignal" +} + +src_install() { + lua_install_cmodule signal.so + dodoc readme.txt || die "dodoc failed" +} + |