diff options
author | Holger Schurig <schurig@mn-solutions.de> | 2005-03-09 13:23:22 +0000 |
---|---|---|
committer | Holger Schurig <schurig@mn-solutions.de> | 2005-03-09 13:23:22 +0000 |
commit | c9648971d62903f43b12caea6e33e3d85e9545a2 (patch) | |
tree | 6897b07987a3eeac5484168dbdd72934dfc42b6f | |
parent | 7776d8150e101211a59151e59de2ac214ce58756 (diff) |
Merge http://oe-devel@openembedded.bkbits.net/openembedded
into mnz66.mn-solutions.de:/usr/src/oe/p
2005/03/09 14:22:42+01:00 mn-solutions.de!schurig
put readprofile into it's own IPK
BKrev: 422ef8cawR7gNBiBI9WKdPLWFBRvNg
-rw-r--r-- | packages/util-linux/util-linux.inc | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/util-linux/util-linux.inc b/packages/util-linux/util-linux.inc index e69de29bb2..df353fdc5e 100644 --- a/packages/util-linux/util-linux.inc +++ b/packages/util-linux/util-linux.inc @@ -0,0 +1,29 @@ +DESCRIPTION = "Util-linux is a suite of essential utilities for any Linux system." +SECTION = "base" +LICENSE = "GPL" +DEPENDS = "zlib ncurses" +PR="r1" + +PACKAGES_prepend = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-readprofile " + +FILES_util-linux-fdisk = "/sbin/fdisk" +FILES_util-linux-cfdisk = "/sbin/cfdisk" +FILES_util-linux-sfdisk = "/sbin/sfdisk" +FILES_util-linux-readprofile = "/usr/sbin/readprofile" + +RRECOMMENDS_${PN} = "util-linux-fdisk util-linux-cfdisk util-linux-sfdisk util-linux-readprofile" + +do_compile () { + set -e + install ${WORKDIR}/MCONFIG ${S}/MCONFIG + install ${WORKDIR}/make_include ${S}/make_include + install ${WORKDIR}/swapargs.h ${S}/mount/swapargs.h + install ${WORKDIR}/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 +} |