added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,29 @@
From 4b6c957372314562bf7b9117103e3a08643eb7b8 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 18 Mar 2017 17:47:28 -0700
Subject: [PATCH] Include limits.h for PATH_MAX definition
Fixes
error: use of undeclared identifier 'PATH_MAX'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
memstat.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/memstat.c b/memstat.c
index 5039fb0..3ff6ee4 100644
--- a/memstat.c
+++ b/memstat.c
@@ -19,6 +19,7 @@
#include <unistd.h>
#include <getopt.h>
#include <errno.h>
+#include <limits.h>
/* blacklist devices that just map physical memory */
char *blacklist[] = {
--
2.12.0

View File

@@ -0,0 +1,31 @@
SUMMARY = "Display virtual memory allocation"
DESCRIPTION = "Lists all the processes, executables, and shared libraries \
that are using up virtual memory. It's helpful to see how the shared memory \
is used and which 'old' libs are loaded. \
"
HOMEPAGE = "http://memstattool.sourceforge.net/"
SECTION = "devtool"
LICENSE = "GPL-2.0-only"
S = "${WORKDIR}/memstattool"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \
file://0001-Include-limits.h-for-PATH_MAX-definition.patch \
"
SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462"
SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
do_install:append(){
install -d ${D}${bindir}
install -m 0755 memstat ${D}${bindir}
install -d ${D}${sysconfdir}
install -m 0755 memstat.conf ${D}${sysconfdir}
install -d ${D}${mandir}/man1
install -m 0644 memstat.1 ${D}${mandir}/man1
install -d ${D}${docdir}/${BPN}
install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN}
}