diff options
| author | Joshua Lock <josh@openedhand.com> | 2008-09-18 18:02:38 +0000 |
|---|---|---|
| committer | Joshua Lock <josh@openedhand.com> | 2008-09-18 18:02:38 +0000 |
| commit | 166a1acddd55548a3e22f034ef5e0399b9ce635a (patch) | |
| tree | c97d842d0c94c427796ff31c64d762d1b52667e6 | |
| parent | 5744c2429e9f66ccd9666aab70f925dee33f530c (diff) | |
| download | poky-166a1acddd55548a3e22f034ef5e0399b9ce635a.tar.gz | |
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
| -rwxr-xr-x | meta/packages/osc/osc-native_svn.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/osc/osc-native_svn.bb b/meta/packages/osc/osc-native_svn.bb new file mode 100755 index 0000000000..781fcff542 --- /dev/null +++ b/meta/packages/osc/osc-native_svn.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | DESCRIPTION = "osc - OpenSUSE build service command-line tool." | ||
| 2 | HOMEPAGE = "http://en.opensuse.org/Build_Service/CLI" | ||
| 3 | SECTION = "console/utils" | ||
| 4 | LICENSE = "GPL" | ||
| 5 | PV = "0.0+svnr${SRCREV}" | ||
| 6 | PR = "r0" | ||
| 7 | DEPENDS="python-native rpm-native" | ||
| 8 | RDEPENDS="" | ||
| 9 | |||
| 10 | SRC_URI = "svn://forgesvn1.novell.com/svn/opensuse/trunk/buildservice/src/clientlib/python;module=osc;proto=https" | ||
| 11 | S = "${WORKDIR}/osc" | ||
| 12 | |||
| 13 | inherit native | ||
| 14 | |||
| 15 | do_stage() { | ||
| 16 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
| 17 | STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ | ||
| 18 | ${STAGING_BINDIR_NATIVE}/python setup.py build || | ||
| 19 | oefatal "python setup.py build execution failed." | ||
| 20 | |||
| 21 | BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ | ||
| 22 | STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \ | ||
| 23 | ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_BINDIR_NATIVE}/.. --install-data=${STAGING_DATADIR_NATIVE} || \ | ||
| 24 | oefatal "python setup.py install execution failed." | ||
| 25 | |||
| 26 | ln -sf ${STAGING_BINDIR_NATIVE}/osc-wrapper.py ${STAGING_BINDIR_NATIVE}/osc | ||
| 27 | } | ||
| 28 | |||
| 29 | do_install() { | ||
| 30 | : | ||
| 31 | } | ||
