patches
This commit is contained in:
@ -1,6 +1,6 @@
|
|||||||
linux-kernel 6.18.7
|
linux-kernel 7.0.12
|
||||||
=
|
=
|
||||||
https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.7.tar.xz
|
https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.0.12.tar.xz
|
||||||
|
|
||||||
CONFIG_USB_EHCI_HCD=m
|
CONFIG_USB_EHCI_HCD=m
|
||||||
CONFIG_USB_OHCI_HCD=m
|
CONFIG_USB_OHCI_HCD=m
|
||||||
|
|||||||
@ -1,7 +0,0 @@
|
|||||||
docbook 5.2
|
|
||||||
=
|
|
||||||
https://github.com/docbook/docbook/archive/refs/tags/5.2.tar.gz
|
|
||||||
|
|
||||||
``` cfg *** deps ***
|
|
||||||
java
|
|
||||||
```
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
shared-mime-info 2.4
|
|
||||||
=
|
|
||||||
https://gitlab.freedesktop.org/xdg/shared-mime-info/-/archive/2.4/shared-mime-info-2.4.tar.gz
|
|
||||||
|
|
||||||
``` sh *** build ***
|
|
||||||
mkdir -p build
|
|
||||||
cd build
|
|
||||||
meson setup --prefix=/pkg/gnu/shared-mime-info --buildtype=release ..
|
|
||||||
ninja
|
|
||||||
ninja install
|
|
||||||
```
|
|
||||||
|
|
||||||
``` cfg *** build deps ***
|
|
||||||
docbook
|
|
||||||
```
|
|
||||||
@ -4,7 +4,7 @@ use crate::utils::shell::{run_install_script,run_install_script_hook};
|
|||||||
|
|
||||||
|
|
||||||
pub fn config(repo: &String, pkgname: &String) {
|
pub fn config(repo: &String, pkgname: &String) {
|
||||||
let src_dir = &crate::commands::get_aeropkg_base().join("src").join(pkgname);
|
let pkg_dir = &crate::commands::get_aeropkg_base().join(repo).join(pkgname);
|
||||||
let pkg_md_path = &crate::commands::get_aeropkg_var().join(format!("{}/{}.md", repo, pkgname));
|
let pkg_md_path = &crate::commands::get_aeropkg_var().join(format!("{}/{}.md", repo, pkgname));
|
||||||
|
|
||||||
let config_script = match parser::get_config_script(pkg_md_path) {
|
let config_script = match parser::get_config_script(pkg_md_path) {
|
||||||
@ -13,7 +13,7 @@ pub fn config(repo: &String, pkgname: &String) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let full_env = get_install_env(repo, pkgname, pkg_md_path, "config");
|
let full_env = get_install_env(repo, pkgname, pkg_md_path, "config");
|
||||||
run_install_script(&config_script, src_dir, &full_env);
|
run_install_script(&config_script, pkg_dir, &full_env);
|
||||||
run_install_script_hook(repo, "config", &full_env);
|
run_install_script_hook(repo, "config", &full_env);
|
||||||
|
|
||||||
link(repo, pkgname)
|
link(repo, pkgname)
|
||||||
|
|||||||
@ -3,10 +3,10 @@ use crate::utils::shell::run_install_script;
|
|||||||
|
|
||||||
|
|
||||||
pub fn custom(scriptname: &String, repo: &String, pkgname: &String) {
|
pub fn custom(scriptname: &String, repo: &String, pkgname: &String) {
|
||||||
let src_dir = &crate::commands::get_aeropkg_base().join("src").join(&pkgname);
|
let pkg_dir = &crate::commands::get_aeropkg_base().join(repo).join(pkgname);
|
||||||
let pkg_md_path = &crate::commands::get_aeropkg_var().join(format!("{}/{}.md", repo, pkgname));
|
let pkg_md_path = &crate::commands::get_aeropkg_var().join(format!("{}/{}.md", repo, pkgname));
|
||||||
|
|
||||||
let config_script = &parser::get_custom_script(pkg_md_path, scriptname);
|
let config_script = &parser::get_custom_script(pkg_md_path, scriptname);
|
||||||
let env = &get_custom_env(repo, pkgname, pkg_md_path);
|
let env = &get_custom_env(repo, pkgname, pkg_md_path);
|
||||||
run_install_script(config_script, src_dir, env)
|
run_install_script(config_script, pkg_dir, env)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user