From bbfe6fd6efce123b62209488cbf37144dbc1bd2b Mon Sep 17 00:00:00 2001 From: Nguyen Thai Ngoc Duy Date: Fri, 8 Dec 2006 07:51:50 +0000 Subject: [PATCH] new ebuild from drizzt@gentoo.org, #126156 Package-Manager: portage-2.1.1 --- app-misc/flasm/ChangeLog | 10 +++++ app-misc/flasm/Manifest | 20 +++++++++ app-misc/flasm/files/digest-flasm-1.6.1 | 3 ++ .../flasm/files/flasm-1.6.1-makefile.patch | 27 ++++++++++++ app-misc/flasm/flasm-1.6.1.ebuild | 42 +++++++++++++++++++ app-misc/flasm/metadata.xml | 14 +++++++ 6 files changed, 116 insertions(+) create mode 100644 app-misc/flasm/ChangeLog create mode 100644 app-misc/flasm/Manifest create mode 100644 app-misc/flasm/files/digest-flasm-1.6.1 create mode 100644 app-misc/flasm/files/flasm-1.6.1-makefile.patch create mode 100644 app-misc/flasm/flasm-1.6.1.ebuild create mode 100644 app-misc/flasm/metadata.xml 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 + +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..dfbee966c484 --- /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 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 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 @@ + + + + no-herd + + pclouds@gentoo.org + Nguyễn Thái Ngọc Duy + + 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. + -- 2.26.2