aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-07-13 16:57:14 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-07-13 16:57:14 +0200
commit9823258f3e034315b2181d7bb37cf637b4a2c2d4 (patch)
tree0dc42c88566e1d97006199aaf6e104723a4a5e50
parentc5ad01adbfb5724c593990acbfec7a69f79082ae (diff)
downloadoverlay-9823258f3e034315b2181d7bb37cf637b4a2c2d4.tar.gz
overlay-9823258f3e034315b2181d7bb37cf637b4a2c2d4.tar.xz
overlay-9823258f3e034315b2181d7bb37cf637b4a2c2d4.zip
added ebuild for unyafffs from http://code.google.com/p/unyaffs/
-rw-r--r--sys-fs/unyaffs/Manifest3
-rw-r--r--sys-fs/unyaffs/unyaffs-0.1.ebuild32
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-fs/unyaffs/Manifest b/sys-fs/unyaffs/Manifest
new file mode 100644
index 0000000..5fa0d96
--- /dev/null
+++ b/sys-fs/unyaffs/Manifest
@@ -0,0 +1,3 @@
+DIST unyaffs.c 2827 RMD160 14efcdd3596446c7d774ab4203daf7d83f222155 SHA1 f0cd18092fa94887193f104c7af100135591a5ae SHA256 82b28c82d9e56d3ea1c082c42bf3fac49169b7646de0f9c58f989d09ffb4636b
+DIST unyaffs.h 3729 RMD160 c087a6fe74dee78d6fa49f1a1332ebc2077ce76b SHA1 753251c7b4f3105939cf9a6bc3ce23836f154a67 SHA256 cd421a9abb8ed02e33db06578184b95a25547eb343084987109c235e9e1a9e47
+EBUILD unyaffs-0.1.ebuild 648 RMD160 c1e31c84b6777707ec09fb37479f8d4ecab53f58 SHA1 bf3bedaacde68e338b584f52ae163e7ae5154121 SHA256 20850eab7c3e3a64f1a9869b0e5903da30161b1f8c6cebda4d546d8f5276c6da
diff --git a/sys-fs/unyaffs/unyaffs-0.1.ebuild b/sys-fs/unyaffs/unyaffs-0.1.ebuild
new file mode 100644
index 0000000..ee4f29d
--- /dev/null
+++ b/sys-fs/unyaffs/unyaffs-0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit toolchain-funcs
+
+DESCRIPTION="a program to extract files from a yaffs image"
+HOMEPAGE="http://code.google.com/p/unyaffs/"
+SRC_URI="http://unyaffs.googlecode.com/files/unyaffs.c
+ http://unyaffs.googlecode.com/files/unyaffs.h"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+SLOT="0"
+
+DEPENDS=""
+RDEPENDS=""
+
+src_unpack() {
+ for source in ${A} ; do
+ cp ${DISTDIR}/${source} ${WORKDIR}
+ done
+}
+
+src_compile() {
+ $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} ${PN}.c || die
+}
+
+src_install() {
+ dobin ${PN}
+}