v4.0.0-rc

This commit is contained in:
lw-everestlinux committed 2024-10-02 17:30:43 -04:00
1 parent 9f14fd745c
commit ee51ce5ed5
23 files changed
+380 -433

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
include config.mk
all:
@echo "No option specified."
help:
@echo "NOTICE: This program should not be run directly."
@echo "It is intended to be run within Glacier"
@echo ""
@echo "Possible options for make:"
@echo "- buildpkg"
@echo "- installpkg"
@echo "- installpkg_s"
@echo "- updatepkg"
@echo "- updatepkg_s"
@echo "- removepkg"
@echo "- removepkg_s"
buildpkg:
# Commands required to build the package
installpkg:
# Commands required to install the package as USER
installpkg_s:
# Commands required to install the package as SYSTEM
updatepkg:
# Comands required to update the package as USER
updatepkg_s:
# Commands required to update the package as SYSTEM
removepkg:
# Commands required to remove the package as USER
removepkg_s:
# Commands required to remove the package as SYSTEM
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
rm -f config.mk
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
. /etc/make.conf
echo "MAKEFLAGS = ${MAKEFLAGS}" >> config.mk
echo "CFLAGS = ${CFLAGS}" >> config.mk
echo "CXXFLAGS = ${CXXFLAGS}" >> config.mk
echo "PREFIX = ${PREFIX}" >> /config.mk
echo "ARCH = ${ARCH}" >> config.mk
+15
View File
@@ -0,0 +1,15 @@
#
# meta.cfg
#
# Information
PACKAGE_NAME = "";
PACKAGE_VER = "";
PACKAGE_DESC = "";
MAINTAINER = "";
LICENSE = "";
ARCH = "";
# Dependencies/Conflicts
DEPENDS = [""];
CONFLICTS = [""];
Submodule pkg/pm deleted from b387d1d3bb.
+27
View File
@@ -0,0 +1,27 @@
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
int
run_make_task(char task[])
{
char *build_args[] = {
"/bin/make",
task,
NULL
};
execvp(
"/bin/make",
build_args
);
if (errno != 0 ) {
return errno;
}
}
int
main()
{
run_make_task("help");
}