diff options
Diffstat (limited to 'app-misc/flasm')
-rw-r--r-- | app-misc/flasm/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/flasm/Manifest | 20 | ||||
-rw-r--r-- | app-misc/flasm/files/digest-flasm-1.6.1 | 3 | ||||
-rw-r--r-- | app-misc/flasm/files/flasm-1.6.1-makefile.patch | 27 | ||||
-rw-r--r-- | app-misc/flasm/flasm-1.6.1.ebuild | 42 | ||||
-rw-r--r-- | app-misc/flasm/metadata.xml | 14 |
6 files changed, 116 insertions, 0 deletions
diff --git a/app-misc/flasm/ChangeLog b/app-misc/flasm/ChangeLog new file mode 100644 index 000000000000..d50d5fabe85e --- /dev/null +++ b/app-misc/flasm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-misc/flasm +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/ChangeLog,v 1.1 2006/12/08 07:51:50 pclouds Exp $ + +*flasm-1.6.1 (08 Dec 2006) + + 08 Dec 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org> + +files/flasm-1.6.1-makefile.patch, +metadata.xml, +flasm-1.6.1.ebuild: + new ebuild from drizzt@gentoo.org, #126156 + diff --git a/app-misc/flasm/Manifest b/app-misc/flasm/Manifest new file mode 100644 index 000000000000..3fa04d6412a9 --- /dev/null +++ b/app-misc/flasm/Manifest @@ -0,0 +1,20 @@ +AUX flasm-1.6.1-makefile.patch 940 RMD160 78426b4742114f3461e639c4d300c77722c04994 SHA1 e05db6a8d6cde70a7e78a9dc7129d071108e731e SHA256 7e604e4dca11e42be74e9564d7b1e3d3861494553f45280d90ddd84ca38245c0 +MD5 00fd707117f584cc4723875db1522d53 files/flasm-1.6.1-makefile.patch 940 +RMD160 78426b4742114f3461e639c4d300c77722c04994 files/flasm-1.6.1-makefile.patch 940 +SHA256 7e604e4dca11e42be74e9564d7b1e3d3861494553f45280d90ddd84ca38245c0 files/flasm-1.6.1-makefile.patch 940 +DIST flasm16src.zip 111142 RMD160 4ee6000ecc4febbde1e130b8ad15a2da7b09c5b1 SHA1 3d6dd8027580d2103fd8f4b0a59fbb6fe4eed209 SHA256 cbbc2aac2145e2b4f41a237efa2549b51230a3a05acf442f3b94a906797b192a +EBUILD flasm-1.6.1.ebuild 834 RMD160 f4e6719edae50739273dfa307be8ce3bed04eccc SHA1 2ff5326ad712fdaf42366b272354897eee685bdc SHA256 ac940e10b82c6a5c7413812fdd81573e69e8bbb437c5c49149274bb2ca548801 +MD5 b79ebafcaa7c3596aca83ce6902dded9 flasm-1.6.1.ebuild 834 +RMD160 f4e6719edae50739273dfa307be8ce3bed04eccc flasm-1.6.1.ebuild 834 +SHA256 ac940e10b82c6a5c7413812fdd81573e69e8bbb437c5c49149274bb2ca548801 flasm-1.6.1.ebuild 834 +MISC ChangeLog 324 RMD160 fa2fccd0b3567998bd5a9cbf94d5ea126366a6f1 SHA1 e63be22ab93ca32c369e44efa5487c748be98934 SHA256 e3a4c79dd43072dbb6e6606343291873e270ca5584f5640f2a8815eea8b8cdfe +MD5 617e7c96618ee77e41efd1d8d8dc12cf ChangeLog 324 +RMD160 fa2fccd0b3567998bd5a9cbf94d5ea126366a6f1 ChangeLog 324 +SHA256 e3a4c79dd43072dbb6e6606343291873e270ca5584f5640f2a8815eea8b8cdfe ChangeLog 324 +MISC metadata.xml 664 RMD160 18727d54b586a9ee15c8bc09aedf9a9c51800210 SHA1 ebcacec660d20752c9342b83ac66480095e0611c SHA256 0c36700e5bc2cec027ccac70f4f5d369494e7a7c24a6bbbae87436f30cec5c28 +MD5 6fe7568b05114393a8037aecb9c79209 metadata.xml 664 +RMD160 18727d54b586a9ee15c8bc09aedf9a9c51800210 metadata.xml 664 +SHA256 0c36700e5bc2cec027ccac70f4f5d369494e7a7c24a6bbbae87436f30cec5c28 metadata.xml 664 +MD5 c767ecad68093df61ab4f3d653e3dad5 files/digest-flasm-1.6.1 223 +RMD160 59418d329bfe968b0a630e626465eabc29cdc06c files/digest-flasm-1.6.1 223 +SHA256 e2981c6b4aa450de35a9d0625f0aa0ec67fa69c3b6ccb1e027bd7e6bc7f74b6c files/digest-flasm-1.6.1 223 diff --git a/app-misc/flasm/files/digest-flasm-1.6.1 b/app-misc/flasm/files/digest-flasm-1.6.1 new file mode 100644 index 000000000000..a0b89a741e00 --- /dev/null +++ b/app-misc/flasm/files/digest-flasm-1.6.1 @@ -0,0 +1,3 @@ +MD5 75e585dd5f47429b7ff56a8795366d02 flasm16src.zip 111142 +RMD160 4ee6000ecc4febbde1e130b8ad15a2da7b09c5b1 flasm16src.zip 111142 +SHA256 cbbc2aac2145e2b4f41a237efa2549b51230a3a05acf442f3b94a906797b192a flasm16src.zip 111142 diff --git a/app-misc/flasm/files/flasm-1.6.1-makefile.patch b/app-misc/flasm/files/flasm-1.6.1-makefile.patch new file mode 100644 index 000000000000..549653f8451e --- /dev/null +++ b/app-misc/flasm/files/flasm-1.6.1-makefile.patch @@ -0,0 +1,27 @@ +--- Makefile.old 2005-10-14 02:11:53.000000000 +0200 ++++ Makefile 2006-10-27 22:59:55.654125000 +0200 +@@ -1,6 +1,4 @@ + UNAME = $(shell uname)
+-CC = gcc
+-CFLAGS = -g -Wall -O2
+ LIBS = -lz
+ OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o
+ GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core
+@@ -9,8 +7,6 @@ + ifneq (,$(findstring debug,$(MAKECMDGOALS)))
+ CFLAGS += -DMEMWATCH -pg -p -pedantic -W -Wcast-align -Wcast-qual -Wshadow -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wmissing-prototypes -Wpointer-arith
+ OFILES += memwatch.o
+-else
+- CFLAGS += -s
+ endif
+
+ # executable should not depend on cygwin.dll
+@@ -26,7 +22,7 @@ + -rm -f ${OFILES} ${GARBAGE}
+
+ flasm: ${OFILES}
+- ${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS}
++ ${CC} $(CFLAGS) $(LDFLAGS) -o flasm ${OFILES} ${LIBS}
+
+ assembler.tab.c assembler.tab.h: assembler.y
+ bison --defines --debug assembler.y
diff --git a/app-misc/flasm/flasm-1.6.1.ebuild b/app-misc/flasm/flasm-1.6.1.ebuild new file mode 100644 index 000000000000..cc6a806fbfbf --- /dev/null +++ b/app-misc/flasm/flasm-1.6.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/flasm/flasm-1.6.1.ebuild,v 1.1 2006/12/08 07:51:50 pclouds Exp $ + +inherit eutils versionator toolchain-funcs + +MY_PV=$(delete_all_version_separators $(get_version_component_range 1-2)) +DESCRIPTION="Command line assembler/disassembler of Flash ActionScript bytecode" +HOMEPAGE="http://www.nowrap.de/flasm.html" +SRC_URI="http://www.nowrap.de/download/flasm${MY_PV}src.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + app-arch/unzip + sys-devel/flex + sys-devel/bison + dev-util/gperf" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin flasm + dodoc CHANGES.TXT + dohtml flasm.html classic.css +} diff --git a/app-misc/flasm/metadata.xml b/app-misc/flasm/metadata.xml new file mode 100644 index 000000000000..334841cae9fa --- /dev/null +++ b/app-misc/flasm/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>pclouds@gentoo.org</email> + <name>Nguyễn Thái Ngọc Duy</name> + </maintainer> + <longdescription>Flasm disassembles your entire SWF including all the timelines and events. +Looking at disassembly, you learn how the Flash compiler works, which improves +your ActionScript skills. You can also do some optimizations on the +disassembled code by hand or adjust the code as you wish. Flasm then applies +your changes to the original SWF, replacing original actions.</longdescription> +</pkgmetadata> |