diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-11 11:08:20 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-04-11 11:08:20 +0000 |
commit | c917bf85ab4229246c87aef2cbd4669adb36fd92 (patch) | |
tree | 3f702b3558039d9495b429b69911f54694ba77fc /meta/packages/util-linux/util-linux-native_2.12r.bb | |
parent | 5fc01adae4a49cfd0754e53962fd1e4913a6220f (diff) | |
download | poky-c917bf85ab4229246c87aef2cbd4669adb36fd92.tar.gz |
util-linux: added 2.12r from OE (needed by fakeroot)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1478 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/util-linux/util-linux-native_2.12r.bb')
-rw-r--r-- | meta/packages/util-linux/util-linux-native_2.12r.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/util-linux/util-linux-native_2.12r.bb b/meta/packages/util-linux/util-linux-native_2.12r.bb new file mode 100644 index 0000000000..27c053000d --- /dev/null +++ b/meta/packages/util-linux/util-linux-native_2.12r.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | DESCRIPTION = "Util-linux is a suite of essential utilities for any Linux system." | ||
2 | SECTION = "base" | ||
3 | LICENSE = "GPL" | ||
4 | DEPENDS = "zlib-native ncurses-native" | ||
5 | |||
6 | inherit autotools native | ||
7 | |||
8 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux/util-linux-${PV}.tar.bz2 \ | ||
9 | file://gcc34.patch;patch=1 \ | ||
10 | file://MCONFIG \ | ||
11 | file://make_include \ | ||
12 | file://swapargs.h \ | ||
13 | file://fdiskbsdlabel_thumb.diff;patch=1 \ | ||
14 | file://defines.h" | ||
15 | |||
16 | S="${WORKDIR}/util-linux-${PV}" | ||
17 | |||
18 | EXTRA_OEMAKE="'OPT=${BUILD_CFLAGS}' 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'LDFLAGS=${BUILD_LDFLAGS}' SBINDIR=${base_sbindir} USRSBINDIR=${base_sbindir} LOGDIR=${localstatedir}/log VARPATH=${localstatedir} LOCALEDIR=${datadir}/locale" | ||
19 | |||
20 | do_compile () { | ||
21 | set -e | ||
22 | install ${WORKDIR}/MCONFIG ${S}/MCONFIG | ||
23 | install ${WORKDIR}/make_include ${S}/make_include | ||
24 | install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h | ||
25 | install ${WORKDIR}/defines.h ${S}/defines.h | ||
26 | oe_runmake | ||
27 | } | ||
28 | |||
29 | do_stage () { | ||
30 | autotools_stage_all | ||
31 | } | ||
32 | |||