Patchwork [RFC] plowshare: Add Git version (initial recipe)

login
register
mail settings
Submitter Matthieu
Date Aug. 14, 2012, 9:48 a.m.
Message ID <CAL2sKTn13OQ4edHfMwEVzLrpEO1prWGJ_V-1ueZj4KH4BBTDtA@mail.gmail.com>
Download mbox | patch
Permalink /patch/34473/
State Superseded
Headers show

Comments

Matthieu - Aug. 14, 2012, 9:48 a.m.
Add recipe for plowshare (git repository).

Signed-off-by: Matthieu Crapet <mcrapet@gmail.com>
---
 plowshare_git.bb |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 plowshare_git.bb

--
1.7.9.5
Koen Kooi - Aug. 14, 2012, 9:57 a.m.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 14-08-12 11:48, Matthieu schreef:
> Add recipe for plowshare (git repository).
> 
> Signed-off-by: Matthieu Crapet <mcrapet@gmail.com> --- plowshare_git.bb |
> 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode
> 100644 plowshare_git.bb
> 
> diff --git a/plowshare_git.bb b/plowshare_git.bb

Directory structure?

> new file mode 100644 index 0000000..ec33bff --- /dev/null +++
> b/plowshare_git.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Command-line
> download/upload tool for file sharing hosters" +HOMEPAGE =
> "http://code.google.com/p/plowshare/" +SECTION = "console/utils" + 
> +LICENSE = "GPLv3" +LIC_FILES_CHKSUM =
> "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +PV =
> "gitr${SRCPV}"

No

> +PE = "1"

No

> +SRCREV = "${AUTOREV}"

Hell no!

> +DEPENDS = "bash curl"

RDEPENDS_${PN}

> +SRC_URI =
> "git://code.google.com/p/plowshare.git;protocol=http;branch=master" +S =
> "${WORKDIR}/git" + +inherit allarch + +# Nothing to compile, it's
> scripts! +do_compile() { +	: +} + +do_install() { +	oe_runmake
> PREFIX="${prefix}" DESTDIR="${D}" install +} -- 1.7.9.5
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFQKiD+MkyGM64RGpERAnvKAKCz9+ARsy0k+JWrVQWjXnLfBqtF9wCgm6lN
ECd9h8ZSl49eDoOTSlbkiRo=
=MO1Y
-----END PGP SIGNATURE-----

Patch

diff --git a/plowshare_git.bb b/plowshare_git.bb
new file mode 100644
index 0000000..ec33bff
--- /dev/null
+++ b/plowshare_git.bb
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "Command-line download/upload tool for file sharing hosters"
+HOMEPAGE = "http://code.google.com/p/plowshare/"
+SECTION = "console/utils"
+
+LICENSE = "GPLv3"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+PV = "gitr${SRCPV}"
+PE = "1"
+SRCREV = "${AUTOREV}"
+DEPENDS = "bash curl"
+
+SRC_URI = "git://code.google.com/p/plowshare.git;protocol=http;branch=master"
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+# Nothing to compile, it's scripts!
+do_compile() {
+	:
+}
+
+do_install() {
+	oe_runmake PREFIX="${prefix}" DESTDIR="${D}" install
+}