| Submitter | Tom Rini |
|---|---|
| Date | July 15, 2011, 10:03 p.m. |
| Message ID | <d481ce0f7896af7699864f9f5ca4410b2d5e39f0.1310758615.git.tom_rini@mentor.com> |
| Download | mbox | patch |
| Permalink | /patch/7673/ |
| State | New, archived |
| Headers | show |
Comments
On Fri, Jul 15, 2011 at 3:03 PM, Tom Rini <tom_rini@mentor.com> wrote: > This is based on 91c14caa8819b08def8ea99e02949e49604c2e86 from oe.dev > with an update to 1.9. > > Signed-off-by: Tom Rini <tom_rini@mentor.com> > --- > .../mercurial/mercurial-native_1.9.bb | 24 ++++++++++++++++++++ > 1 files changed, 24 insertions(+), 0 deletions(-) > create mode 100644 meta/recipes-devtools/mercurial/mercurial-native_1.9.bb > > diff --git a/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb > new file mode 100644 > index 0000000..b4438a3 > --- /dev/null > +++ b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb > @@ -0,0 +1,24 @@ > +DESCRIPTION = "The Mercurial distributed SCM" > +HOMEPAGE = "http://mercurial.selenic.com/" > +SECTION = "console/utils" > +LICENSE = "GPLv2" > +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" > +DEPENDS = "python-native" > +PR = "r1" > + > +SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz" > +SRC_URI[md5sum] = "d4842129fa2732eb6ed1180467bc32e2" > +SRC_URI[sha256sum] = "711e4b1cd2924a7a88499d6c431a9122390183bf554d4e153edbb3b2f30123e0" > + > +S = "${WORKDIR}/mercurial-${PV}" > + > +inherit native why not use BBCLASSEXTEND although I dont know why someone would want target package of hg > + > +EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ > + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}" > + > +do_install () { > + oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} > +} > + > +NATIVE_INSTALL_WORKS = "1" > -- > 1.7.0.4 > > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >
On 07/15/2011 03:14 PM, Khem Raj wrote: > On Fri, Jul 15, 2011 at 3:03 PM, Tom Rini <tom_rini@mentor.com> wrote: >> This is based on 91c14caa8819b08def8ea99e02949e49604c2e86 from oe.dev >> with an update to 1.9. >> >> Signed-off-by: Tom Rini <tom_rini@mentor.com> >> --- >> .../mercurial/mercurial-native_1.9.bb | 24 ++++++++++++++++++++ >> 1 files changed, 24 insertions(+), 0 deletions(-) >> create mode 100644 meta/recipes-devtools/mercurial/mercurial-native_1.9.bb >> >> diff --git a/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb >> new file mode 100644 >> index 0000000..b4438a3 >> --- /dev/null >> +++ b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb >> @@ -0,0 +1,24 @@ >> +DESCRIPTION = "The Mercurial distributed SCM" >> +HOMEPAGE = "http://mercurial.selenic.com/" >> +SECTION = "console/utils" >> +LICENSE = "GPLv2" >> +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" >> +DEPENDS = "python-native" >> +PR = "r1" >> + >> +SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz" >> +SRC_URI[md5sum] = "d4842129fa2732eb6ed1180467bc32e2" >> +SRC_URI[sha256sum] = "711e4b1cd2924a7a88499d6c431a9122390183bf554d4e153edbb3b2f30123e0" >> + >> +S = "${WORKDIR}/mercurial-${PV}" >> + >> +inherit native > > why not use BBCLASSEXTEND although I dont know why someone would want > target package of hg To avoid the "ok, now how do we split this up for the target" before someone says they want it. oe.dev is also just a native atm.
Patch
diff --git a/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb new file mode 100644 index 0000000..b4438a3 --- /dev/null +++ b/meta/recipes-devtools/mercurial/mercurial-native_1.9.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "The Mercurial distributed SCM" +HOMEPAGE = "http://mercurial.selenic.com/" +SECTION = "console/utils" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "python-native" +PR = "r1" + +SRC_URI = "http://mercurial.selenic.com/release/mercurial-${PV}.tar.gz" +SRC_URI[md5sum] = "d4842129fa2732eb6ed1180467bc32e2" +SRC_URI[sha256sum] = "711e4b1cd2924a7a88499d6c431a9122390183bf554d4e153edbb3b2f30123e0" + +S = "${WORKDIR}/mercurial-${PV}" + +inherit native + +EXTRA_OEMAKE = "STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \ + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} PREFIX=${prefix}" + +do_install () { + oe_runmake -e install-bin DESTDIR=${D} PREFIX=${prefix} +} + +NATIVE_INSTALL_WORKS = "1"
This is based on 91c14caa8819b08def8ea99e02949e49604c2e86 from oe.dev with an update to 1.9. Signed-off-by: Tom Rini <tom_rini@mentor.com> --- .../mercurial/mercurial-native_1.9.bb | 24 ++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/mercurial/mercurial-native_1.9.bb