From 166a1acddd55548a3e22f034ef5e0399b9ce635a Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 18 Sep 2008 18:02:38 +0000 Subject: Native pacage for the OpenSuse build service client. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5200 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/osc/osc-native_svn.bb | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 meta/packages/osc/osc-native_svn.bb (limited to 'meta/packages/osc') diff --git a/meta/packages/osc/osc-native_svn.bb b/meta/packages/osc/osc-native_svn.bb new file mode 100755 index 000000000..781fcff54 --- /dev/null +++ b/meta/packages/osc/osc-native_svn.bb @@ -0,0 +1,31 @@ +DESCRIPTION = "osc - OpenSUSE build service command-line tool." +HOMEPAGE = "http://en.opensuse.org/Build_Service/CLI" +SECTION = "console/utils" +LICENSE = "GPL" +PV = "0.0+svnr${SRCREV}" +PR = "r0" +DEPENDS="python-native rpm-native" +RDEPENDS="" + +SRC_URI = "svn://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python;module=osc;proto=https" +S = "${WORKDIR}/osc" + +inherit native + +do_stage() { + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ + ${STAGING_BINDIR_NATIVE}/python setup.py build || + oefatal "python setup.py build execution failed." + + BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ + STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ + ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_BINDIR_NATIVE}/.. --install-data=${STAGING_DATADIR_NATIVE} || \ + oefatal "python setup.py install execution failed." + + ln -sf ${STAGING_BINDIR_NATIVE}/osc-wrapper.py ${STAGING_BINDIR_NATIVE}/osc +} + +do_install() { + : +} -- cgit v1.2.3