new package: cpufetch (#7949)
This commit is contained in:
parent
61a0d32129
commit
d98c0a9fe5
11
packages/cpufetch/Makefile.patch
Normal file
11
packages/cpufetch/Makefile.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./Makefile 2021-08-23 09:31:46.000000000 +0200
|
||||
+++ ./Makefile.mod 2021-11-08 12:26:17.099489918 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_COMMON)printer.h $(SRC_COMMON)args.h $(SRC_COMMON)global.h
|
||||
|
||||
ifneq ($(OS),Windows_NT)
|
||||
- arch := $(shell uname -m)
|
||||
+ arch := ${TERMUX_ARCH}
|
||||
ifeq ($(arch), $(filter $(arch), x86_64 amd64 i686))
|
||||
SRC_DIR=src/x86/
|
||||
SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
|
8
packages/cpufetch/build.sh
Normal file
8
packages/cpufetch/build.sh
Normal file
@ -0,0 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/Dr-Noob/cpufetch
|
||||
TERMUX_PKG_DESCRIPTION="Simple yet fancy CPU architecture fetching tool"
|
||||
TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@ELWAER-M"
|
||||
TERMUX_PKG_VERSION=1.00
|
||||
TERMUX_PKG_SRCURL=https://github.com/Dr-Noob/cpufetch/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=2254c2578435cc35c4d325b25fdff4c4b681de92cbce9a7a36e58ad58a3d9173
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
Loading…
Reference in New Issue
Block a user