From bd068236207dee9373f5d559c88325de3446d53b Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Mon, 11 Oct 2004 16:36:01 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages 2004/10/11 18:35:17+02:00 local!CoreDump The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix. BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw --- lsof/lsof_4.69.oe | 1 + lsof/lsof_4.70.oe | 1 + lsof/lsof_4.72.oe | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) (limited to 'lsof') diff --git a/lsof/lsof_4.69.oe b/lsof/lsof_4.69.oe index cbef47ae6e..f2ae3a3062 100644 --- a/lsof/lsof_4.69.oe +++ b/lsof/lsof_4.69.oe @@ -1,3 +1,4 @@ +SECTION = "console/utils" DESCRIPTION = "Lsof is a Unix-specific diagnostic \ tool. Its name stands for LiSt Open Files, and it \ does just that." diff --git a/lsof/lsof_4.70.oe b/lsof/lsof_4.70.oe index cbef47ae6e..f2ae3a3062 100644 --- a/lsof/lsof_4.70.oe +++ b/lsof/lsof_4.70.oe @@ -1,3 +1,4 @@ +SECTION = "console/utils" DESCRIPTION = "Lsof is a Unix-specific diagnostic \ tool. Its name stands for LiSt Open Files, and it \ does just that." diff --git a/lsof/lsof_4.72.oe b/lsof/lsof_4.72.oe index e69de29bb2..614916ada4 100644 --- a/lsof/lsof_4.72.oe +++ b/lsof/lsof_4.72.oe @@ -0,0 +1,35 @@ +SECTION = "console/utils" +DESCRIPTION = "Lsof is a Unix-specific diagnostic \ +tool. Its name stands for LiSt Open Files, and it \ +does just that." + +SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.gz" +LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar" +S = "${WORKDIR}/lsof_${PV}_src" + +python do_unpack () { + oe.build.exec_func('base_do_unpack', d) + src_uri = oe.data.getVar('SRC_URI', d) + oe.data.setVar('SRC_URI', '${LOCALSRC}', d) + oe.build.exec_func('base_do_unpack', d) + oe.data.setVar('SRC_URI', src_uri, d) +} + +do_configure () { + echo PWD is $PWD + ./Configure ${TARGET_OS} +} + +export I = "${STAGING_INCDIR}" +export L = "${STAGING_INCDIR}" +export EXTRA_OEMAKE = "" + +do_compile () { + oe_runmake 'CC=${CC}' 'CFGL=${LDFLAGS} -L./lib -llsof' 'DEBUG=' 'INCL=${CFLAGS}' +} + +do_install () { + install -d ${D}/${sbindir} ${D}/${mandir}/man8 + install -m 4755 lsof ${D}/${sbindir}/lsof + install -m 0644 lsof.8 ${D}/${mandir}/man8/lsof.8 +} -- cgit v1.2.3