diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-18 12:36:34 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-18 12:36:34 +0100 |
commit | e2eaac645e9dd364a5e8c23f803e552bc5019987 (patch) | |
tree | d014cb7dabf77f32c7b4ad5ce96c569cf660a9d4 /meta/packages/util-linux/util-linux-native_2.15.bb | |
parent | 02def140ff7ef4653306f72af165e2493a1f1592 (diff) | |
download | poky-e2eaac645e9dd364a5e8c23f803e552bc5019987.tar.gz |
util-linux 2.12r -> util-linux-ng 2.15
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/util-linux/util-linux-native_2.15.bb')
-rw-r--r-- | meta/packages/util-linux/util-linux-native_2.15.bb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/util-linux/util-linux-native_2.15.bb b/meta/packages/util-linux/util-linux-native_2.15.bb new file mode 100644 index 0000000000..7a931786db --- /dev/null +++ b/meta/packages/util-linux/util-linux-native_2.15.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-ng/v2.15/util-linux-ng-${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-ng-${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 | |||