aboutsummaryrefslogtreecommitdiffstats
path: root/lsof
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
committerMatthias Hentges <oe@hentges.net>2004-10-11 16:36:01 +0000
commitbd068236207dee9373f5d559c88325de3446d53b (patch)
treebea490798b7aec80d96272f621898b8cb8c82efe /lsof
parent96379cf2ff7c66a2ab2f1e57e17c88b9860e5c75 (diff)
downloadopenembedded-bd068236207dee9373f5d559c88325de3446d53b.tar.gz
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
Diffstat (limited to 'lsof')
-rw-r--r--lsof/lsof_4.69.oe1
-rw-r--r--lsof/lsof_4.70.oe1
-rw-r--r--lsof/lsof_4.72.oe35
3 files changed, 37 insertions, 0 deletions
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
+}