mic-0.2: adding new version of mic
Ricardo Salveti [Mon, 2 Feb 2009 05:27:04 +0000 (02:27 -0300)]
Signed-off-by: Ricardo Salveti <ricardo.salveti@openbossa.org>

app-misc/mic/Manifest
app-misc/mic/mic-0.2.ebuild [new file with mode: 0644]

index 102e1de..d40fc06 100644 (file)
@@ -1,2 +1,4 @@
 DIST mic_0.1-2.tar.gz 24705 RMD160 18e9d27eaff10c4360883336639ea5ecff4d7e06 SHA1 f71014b67889c9f55aeb7d46d8dbee75fd0b3803 SHA256 df92067aa5b713c4f31ec075973b6eedac94ecc9eae109de93f95de65d1239e8
+DIST mic_0.2.tar.gz 26920 RMD160 32e8e4324397d2e01aed1504548b9c11c950230f SHA1 9a9b61d7178600ece8ebbb7473105dc761460dc1 SHA256 37787c3082d2b70e7ef0f5bce6a3f1f040bc1f92fa729dafa771308aa8d11496
 EBUILD mic-0.1.ebuild 506 RMD160 8dd20e2d0e00d6d6dd87473c57edba4f3d3567f1 SHA1 da5c623895eb7199538f7a26ef1b02c468ce6075 SHA256 882d2e0584f74db96f5e2c87d4c1ff2732fdaa65b28f30b85776456a6daef6fb
+EBUILD mic-0.2.ebuild 975 RMD160 e2858500f8e5b50b11bbaf2844dcabde203552b7 SHA1 653531e8ef8b8479119b49fa2f75935f2a2e5ba1 SHA256 320be20265921ba81bd75603f9daee6a31505697120cf0bf4d4c1e3c00ba07ea
diff --git a/app-misc/mic/mic-0.2.ebuild b/app-misc/mic/mic-0.2.ebuild
new file mode 100644 (file)
index 0000000..a976e5f
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 2009 Ricardo Salveti de Araujo
+# Distributed under the terms of the GNU General Public License v2
+
+inherit distutils linux-info
+
+DESCRIPTION="Mamona Fiasco Image Creator and Combiner."
+HOMEPAGE="http://dev.openbossa.org/trac/mamona/wiki"
+SRC_URI="http://dev.openbossa.org/mamona/0.2/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.5
+       sys-fs/mtd-utils"
+DEPEND="${RDEPEND}"
+CONFIG_CHECK="BLK_DEV_LOOP MTD MTD_BLOCK MTD_BLOCK2MTD JFFS2_FS JFFS2_LZO"
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+       if ! linux_chkconfig_module MTD_BLOCK2MTD; then
+               eerror ""
+               eerror "${PN} requires that 'MTD using block device' be compiled as a module."
+               eerror "In your .config: CONFIG_MTD_BLOCK2MTD=m"
+               eerror "Through 'make menuconfig':"
+               eerror "        Device Drivers -> MTD -> Self-contained MTD -> <M> MTD using block device"
+               eerror ""
+               die "MTD using block device not available as module."
+       fi
+
+       distutils_src_unpack
+}