diff options
-rw-r--r-- | dev-lang/bff/ChangeLog | 5 | ||||
-rw-r--r-- | dev-lang/bff/Manifest | 33 | ||||
-rw-r--r-- | dev-lang/bff/bff-1.0.3.1.ebuild | 29 | ||||
-rw-r--r-- | dev-lang/bff/files/digest-bff-1.0.3.1 | 3 |
4 files changed, 50 insertions, 20 deletions
diff --git a/dev-lang/bff/ChangeLog b/dev-lang/bff/ChangeLog index 3838f8d1cb37..fd811fda652b 100644 --- a/dev-lang/bff/ChangeLog +++ b/dev-lang/bff/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/bff # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/bff/ChangeLog,v 1.5 2006/09/09 09:05:26 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/bff/ChangeLog,v 1.6 2006/12/30 06:28:47 vapier Exp $ + + 30 Dec 2006; Mike Frysinger <vapier@gentoo.org> bff-1.0.3.1.ebuild: + Respect user LDFLAGS, add src_test, and add more KEYWORDS. 09 Sep 2006; <blubb@gentoo.org> bff-1.0.3.1.ebuild: bug 146887 diff --git a/dev-lang/bff/Manifest b/dev-lang/bff/Manifest index 93ac27a88197..51d903650814 100644 --- a/dev-lang/bff/Manifest +++ b/dev-lang/bff/Manifest @@ -1,16 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST bff-1.0.3.1.tar.gz 2617 RMD160 1a8b4ca6037562c117bebb8429291cf320834ba8 SHA1 423d1f9331466dbd12af329cf3356c132a413cd6 SHA256 189438f69bf0b66728caa1afed99e83fc03cdd3bdbcfa3c10c766e7bbea50712 -EBUILD bff-1.0.3.1.ebuild 568 RMD160 a850ff1f6419a69ec558a8f2330a09652f179466 SHA1 d1ef6f86dba2b3517b909ca8a1bb6bf26c53abe9 SHA256 b75b5e672343c8019f42e0428867f1a7b3f8e056f78728297ed5f8a823ffcd9e -MD5 34639f0fa56fd3f01a5885a0e34de2d8 bff-1.0.3.1.ebuild 568 -RMD160 a850ff1f6419a69ec558a8f2330a09652f179466 bff-1.0.3.1.ebuild 568 -SHA256 b75b5e672343c8019f42e0428867f1a7b3f8e056f78728297ed5f8a823ffcd9e bff-1.0.3.1.ebuild 568 -MISC ChangeLog 697 RMD160 7be204e73c68633eeefd8aa5425681b2299c5d8a SHA1 895ec0a89739e6a9deb6e20bd4567c36fe89c048 SHA256 b5c1b957ae6293b8f4fa3386ad60b178608e78ddea7cfe9d6a21aeece7a1de47 -MD5 468a5e979f5519868d6fc4790b4fbb67 ChangeLog 697 -RMD160 7be204e73c68633eeefd8aa5425681b2299c5d8a ChangeLog 697 -SHA256 b5c1b957ae6293b8f4fa3386ad60b178608e78ddea7cfe9d6a21aeece7a1de47 ChangeLog 697 +DIST mandelbrot.b 11669 RMD160 38ff8610eef2781e376e558509c16a48b23a3a36 SHA1 d6ae8f9f61566ddb10f450f4163018e93077fc30 SHA256 f0f048e90855450fb06f2bea21f914f0d24e6b6c15fd050c68176ff794c6229e +EBUILD bff-1.0.3.1.ebuild 1011 RMD160 eccabdb1637b1c1ca749a4c3a17d3668905479b3 SHA1 acf29cda6a288d0504d8c6d321c8565d388a6155 SHA256 7bf1ede5c7c34624ffd82c9fb314d083f54d80ad5addbdc2b6680b6c106a30a5 +MD5 07cd3a0095d46ced08780b20b74cb6a7 bff-1.0.3.1.ebuild 1011 +RMD160 eccabdb1637b1c1ca749a4c3a17d3668905479b3 bff-1.0.3.1.ebuild 1011 +SHA256 7bf1ede5c7c34624ffd82c9fb314d083f54d80ad5addbdc2b6680b6c106a30a5 bff-1.0.3.1.ebuild 1011 +MISC ChangeLog 830 RMD160 5afa92503945f4a8d7de645e882279154e629d1f SHA1 09342a83c72811500cf02be0076fc191d20c0f36 SHA256 afc1cbecd0f92932456da0852b9aac86a3b2b6973e56c669b7bde1348f750304 +MD5 9b8ed336a4abfaa192af7b44f151e186 ChangeLog 830 +RMD160 5afa92503945f4a8d7de645e882279154e629d1f ChangeLog 830 +SHA256 afc1cbecd0f92932456da0852b9aac86a3b2b6973e56c669b7bde1348f750304 ChangeLog 830 MISC metadata.xml 390 RMD160 d612c5261b1726b9bf487c6f572b00bf988b311d SHA1 d155b8beadef6038351d4dce04c51a1a79d84c70 SHA256 15b94c4f0f4a5141bd78404663fb8e55a29cbf4194670e1f494e252468e7e60c MD5 5a867cae5cd84d1a8a60ee8231782856 metadata.xml 390 RMD160 d612c5261b1726b9bf487c6f572b00bf988b311d metadata.xml 390 SHA256 15b94c4f0f4a5141bd78404663fb8e55a29cbf4194670e1f494e252468e7e60c metadata.xml 390 -MD5 25c8dc944bc128848b99c209b4cee72d files/digest-bff-1.0.3.1 229 -RMD160 197de2f9078acd746e66fd7b2a8624241bb97462 files/digest-bff-1.0.3.1 229 -SHA256 d1d8165dc10662b5c00caa27a78deae29c6d4a54618d9644961f28b95dbfc8d4 files/digest-bff-1.0.3.1 229 +MD5 6831cc4f525489fed17a18ff277df7dd files/digest-bff-1.0.3.1 443 +RMD160 3f8ca37decbae86cea498f9fe482a80d7d64a08d files/digest-bff-1.0.3.1 443 +SHA256 0d193cc88bae5e0c4757a3492813196209f7226116b38f41ce01ba2467d50524 files/digest-bff-1.0.3.1 443 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFlgde8bi6rjpTunYRAskPAKDc0v85o/HVra1N8ups59hDPFFmeACfRgRT +hpttVFt+ibDiCpmMj732xVU= +=6Tge +-----END PGP SIGNATURE----- diff --git a/dev-lang/bff/bff-1.0.3.1.ebuild b/dev-lang/bff/bff-1.0.3.1.ebuild index a17885267970..e3e8689c3ae7 100644 --- a/dev-lang/bff/bff-1.0.3.1.ebuild +++ b/dev-lang/bff/bff-1.0.3.1.ebuild @@ -1,28 +1,41 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/bff/bff-1.0.3.1.ebuild,v 1.5 2006/09/09 09:05:26 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/bff/bff-1.0.3.1.ebuild,v 1.6 2006/12/30 06:28:47 vapier Exp $ inherit toolchain-funcs DESCRIPTION="a brainfuck interpreter" HOMEPAGE="http://swapped.cc/bf/" -SRC_URI="http://swapped.cc/bf/files/${P}.tar.gz" +SRC_URI="http://swapped.cc/bf/files/${P}.tar.gz + test? ( http://swapped.cc/bf/files/mandelbrot.b )" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" +KEYWORDS="amd64 arm hppa ia64 m68k ppc ppc64 s390 sh x86" +IUSE="test" DEPEND="" RDEPEND="" +src_unpack() { + unpack ${P}.tar.gz + use test && cp "${DISTDIR}"/mandelbrot.b "${S}"/ +} + src_compile() { - $(tc-getCC) ${CFLAGS} -o bff bff.c || die "compile failed" + $(tc-getCC) -Wall ${CFLAGS} ${LDFLAGS} -o bff bff.c || die "compile failed" } -src_install() { - dobin bff - into /usr +src_test() { + ebegin "Running mandelbrot test" + ./bff mandelbrot.b > mandelbrot.out + eend $? || die + [[ $(md5sum mandelbrot.out) == "5024283fa65866ddd347b877798e84d8 "* ]] \ + && cat mandelbrot.out \ + || die "mandelbrot did not output correctly" +} +src_install() { + dobin bff || die dodoc README } diff --git a/dev-lang/bff/files/digest-bff-1.0.3.1 b/dev-lang/bff/files/digest-bff-1.0.3.1 index 93e449791b06..69d0b4169879 100644 --- a/dev-lang/bff/files/digest-bff-1.0.3.1 +++ b/dev-lang/bff/files/digest-bff-1.0.3.1 @@ -1,3 +1,6 @@ MD5 6dbe87dab41f7d042b5bd2bf99958c8d bff-1.0.3.1.tar.gz 2617 RMD160 1a8b4ca6037562c117bebb8429291cf320834ba8 bff-1.0.3.1.tar.gz 2617 SHA256 189438f69bf0b66728caa1afed99e83fc03cdd3bdbcfa3c10c766e7bbea50712 bff-1.0.3.1.tar.gz 2617 +MD5 24c8609a787d2ddd52fed1ebc9866269 mandelbrot.b 11669 +RMD160 38ff8610eef2781e376e558509c16a48b23a3a36 mandelbrot.b 11669 +SHA256 f0f048e90855450fb06f2bea21f914f0d24e6b6c15fd050c68176ff794c6229e mandelbrot.b 11669 |