mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
lsof/m4: Remove old versions
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2414 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \
|
||||
Its name stands for LiSt Open Files, and it does just that."
|
||||
SECTION = "devel"
|
||||
LICENSE = "BSD"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
|
||||
LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
|
||||
S = "${WORKDIR}/lsof_${PV}_src"
|
||||
|
||||
python do_unpack () {
|
||||
bb.build.exec_func('base_do_unpack', d)
|
||||
src_uri = bb.data.getVar('SRC_URI', d)
|
||||
bb.data.setVar('SRC_URI', '${LOCALSRC}', d)
|
||||
bb.build.exec_func('base_do_unpack', d)
|
||||
bb.data.setVar('SRC_URI', src_uri, d)
|
||||
}
|
||||
|
||||
LSOF_OS = "${TARGET_OS}"
|
||||
LSOF_OS_linux-uclibc = "linux"
|
||||
LSOF_OS_linux-gnueabi = "linux"
|
||||
|
||||
do_configure () {
|
||||
yes | ./Configure ${LSOF_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
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
require m4_${PV}.bb
|
||||
|
||||
inherit native
|
||||
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/m4"
|
||||
|
||||
INHIBIT_AUTOTOOLS_DEPS = "1"
|
||||
DEPENDS += "gnu-config-native"
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${STAGING_DATADIR}/gnu-config/config.sub .
|
||||
install -m 0644 ${STAGING_DATADIR}/gnu-config/config.guess .
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
install -m 0755 src/m4 ${STAGING_BINDIR}/
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
require m4_${PV}.bb
|
||||
|
||||
inherit native
|
||||
|
||||
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/m4"
|
||||
|
||||
INHIBIT_AUTOTOOLS_DEPS = "1"
|
||||
DEPENDS += "gnu-config-native"
|
||||
|
||||
do_configure() {
|
||||
install -m 0644 ${STAGING_DATADIR}/gnu-config/config.sub .
|
||||
install -m 0644 ${STAGING_DATADIR}/gnu-config/config.guess .
|
||||
oe_runconf
|
||||
}
|
||||
|
||||
do_stage() {
|
||||
install -m 0755 src/m4 ${STAGING_BINDIR}/
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro \
|
||||
processor."
|
||||
LICENSE = "GPL"
|
||||
SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \
|
||||
file://make.patch;patch=1"
|
||||
S = "${WORKDIR}/m4-${PV}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
EXTRA_AUTORECONF = "--exclude=autopoint,aclocal"
|
||||
EXTRA_OEMAKE += "'infodir=${infodir}'"
|
||||
@@ -1,13 +0,0 @@
|
||||
DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro \
|
||||
processor."
|
||||
LICENSE = "GPL"
|
||||
SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz"
|
||||
S = "${WORKDIR}/m4-${PV}"
|
||||
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OEMAKE += "'infodir=${infodir}'"
|
||||
|
||||
do_configure() {
|
||||
oe_runconf
|
||||
}
|
||||
Reference in New Issue
Block a user