--- /dev/null
+# 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
+
--- /dev/null
+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 930 RMD160 2fee1b4cac23b1a2bfddb08712fb903839333238 SHA1 c23eb3d1bd35b2d3dfe9b68ef6444ffc73f8e6fd SHA256 c48a648482317d1556322556f7a7a3a4524650f3e8bcf9d1a1cc07995c499947
+MD5 b314f40195160e7e8b17d954920afa13 flasm-1.6.1.ebuild 930
+RMD160 2fee1b4cac23b1a2bfddb08712fb903839333238 flasm-1.6.1.ebuild 930
+SHA256 c48a648482317d1556322556f7a7a3a4524650f3e8bcf9d1a1cc07995c499947 flasm-1.6.1.ebuild 930
+MISC ChangeLog 411 RMD160 27eb036b1cdb43460ed715be93855d5671ee32b2 SHA1 d25976f0d65e90cbb1d813dc15c93f79804288c3 SHA256 5adc6e0bf9254fb5b7f8966487742eabf34e042ae327066ea9f9d157d9d26b43
+MD5 ed62bafc39f0d6baf67a29db2af38ee7 ChangeLog 411
+RMD160 27eb036b1cdb43460ed715be93855d5671ee32b2 ChangeLog 411
+SHA256 5adc6e0bf9254fb5b7f8966487742eabf34e042ae327066ea9f9d157d9d26b43 ChangeLog 411
+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
--- /dev/null
+MD5 75e585dd5f47429b7ff56a8795366d02 flasm16src.zip 111142
+RMD160 4ee6000ecc4febbde1e130b8ad15a2da7b09c5b1 flasm16src.zip 111142
+SHA256 cbbc2aac2145e2b4f41a237efa2549b51230a3a05acf442f3b94a906797b192a flasm16src.zip 111142
--- /dev/null
+--- 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)\r
+-CC = gcc\r
+-CFLAGS = -g -Wall -O2\r
+ LIBS = -lz\r
+ OFILES = util.o keywords.o flasm.o unflasm.o lex.yy.o assembler.tab.o\r
+ GARBAGE = assembler.tab.* lex.yy.c memwatch.o gmon.out memwatch.log core\r
+@@ -9,8 +7,6 @@
+ ifneq (,$(findstring debug,$(MAKECMDGOALS)))\r
+ CFLAGS += -DMEMWATCH -pg -p -pedantic -W -Wcast-align -Wcast-qual -Wshadow -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wmissing-prototypes -Wpointer-arith\r
+ OFILES += memwatch.o\r
+-else\r
+- CFLAGS += -s\r
+ endif\r
+ \r
+ # executable should not depend on cygwin.dll\r
+@@ -26,7 +22,7 @@
+ -rm -f ${OFILES} ${GARBAGE}\r
+ \r
+ flasm: ${OFILES}\r
+- ${CC} $(CFLAGS) -o flasm ${OFILES} ${LIBS}\r
++ ${CC} $(CFLAGS) $(LDFLAGS) -o flasm ${OFILES} ${LIBS}\r
+ \r
+ assembler.tab.c assembler.tab.h: assembler.y\r
+ bison --defines --debug assembler.y\r
--- /dev/null
+# 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
+}
--- /dev/null
+<?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>