From patchwork Tue Aug 14 12:50:16 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,v2] plowshare: Add Git version (initial recipe) Date: Tue, 14 Aug 2012 12:50:16 -0000 From: Matthieu X-Patchwork-Id: 34605 Message-Id: To: openembedded-devel@lists.openembedded.org Add recipe for plowshare (git repository). v2: - fix big mistake DEPENDS => RDEPENDS - set SRCREV to empty string - keep PE=1 to respect upstream scheme Signed-off-by: Matthieu Crapet --- meta/recipes-support/plowshare/plowshare_git.bb | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta/recipes-support/plowshare/plowshare_git.bb +} -- 1.7.9.5 diff --git a/meta/recipes-support/plowshare/plowshare_git.bbb/meta/recipes-support/plowshare/ plowshare_git.bb new file mode 100644 index 0000000..f819255 --- /dev/null +++ b/meta/recipes-support/plowshare/plowshare_git.bb @@ -0,0 +1,27 @@ +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" + +# Follow uptream (debian) naming convention, +# for example: plowshare_1~git20120807-1_all.deb +PV = "gitr${SRCPV}" +PE = "1" +SRCREV = "" + +RDEPENDS_${PN} = "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