summaryrefslogtreecommitdiff
path: root/util-linux/util-linux_2.12.oe
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux/util-linux_2.12.oe')
-rw-r--r--util-linux/util-linux_2.12.oe19
1 files changed, 19 insertions, 0 deletions
diff --git a/util-linux/util-linux_2.12.oe b/util-linux/util-linux_2.12.oe
index e69de29bb2..65fb74e964 100644
--- a/util-linux/util-linux_2.12.oe
+++ b/util-linux/util-linux_2.12.oe
@@ -0,0 +1,19 @@
+DEPENDS=virtual/libc zlib ncurses
+
+SRC_URI := http://ftp.cwi.nl/aeb/util-linux/util-linux-2.12.tar.gz
+
+EXTRA_OEMAKE=
+do_compile () {
+ set -e
+ install ${FILESDIR}/MCONFIG ${S}/MCONFIG
+ install ${FILESDIR}/make_include ${S}/make_include
+ install ${FILESDIR}/swapargs.h ${S}/mount/swapargs.h
+ install ${FILESDIR}/defines.h ${S}/defines.h
+ oe_runmake ARCH=${TARGET_ARCH} CPU= CPUOPT= \
+ 'OPT=${CFLAGS}' 'CC=${CC}' 'LD=${LD}' \
+ 'LDFLAGS=${LDFLAGS}'
+}
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}