mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
wip pkger
This commit is contained in:
parent
5e0fb5913a
commit
1927b579d7
3
.gitignore
vendored
3
.gitignore
vendored
@ -4,4 +4,5 @@ AppDir/
|
||||
*.AppImage
|
||||
*.AppImage.zsync
|
||||
appimage-build/
|
||||
*.stignore
|
||||
*.stignore
|
||||
pkg/output
|
||||
|
15
.pkger.yml
Normal file
15
.pkger.yml
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
recipes_dir: pkg/recipes
|
||||
output_dir: pkg/output
|
||||
images_dir: pkg/images
|
||||
log_dir: ~
|
||||
runtime_uri: ~
|
||||
gpg_key: ~
|
||||
gpg_name: ~
|
||||
ssh: ~
|
||||
images:
|
||||
- name: debian
|
||||
target: deb
|
||||
- name: fedora-37
|
||||
target: rpm
|
||||
custom_simple_images: ~
|
1
pkg/images/debian/Dockerfile
Normal file
1
pkg/images/debian/Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM debian:bookworm
|
1
pkg/images/fedora-37/Dockerfile
Normal file
1
pkg/images/fedora-37/Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM fedora:37
|
33
pkg/recipes/lact/recipe.yml
Normal file
33
pkg/recipes/lact/recipe.yml
Normal file
@ -0,0 +1,33 @@
|
||||
metadata:
|
||||
name: lact
|
||||
description: AMDGPU control utility
|
||||
arch: x86_64
|
||||
license: MIT
|
||||
version: 0.2.0
|
||||
maintainer: ilya-zlobintsev
|
||||
url: https://github.com/ilya-zlobintsev/lact
|
||||
source:
|
||||
- '../../..'
|
||||
provides: [ lact ]
|
||||
depends:
|
||||
all: [ hwdata ]
|
||||
debian: [ libgtk-4-1 ]
|
||||
fedora-37: [ gtk4 ]
|
||||
build_depends:
|
||||
all: [ curl, make ]
|
||||
debian: [ libgtk-4-dev, pkg-config, build-essential ]
|
||||
fedora-37: [ gtk4-devel, gcc ]
|
||||
images: [ debian, fedora-37 ]
|
||||
env:
|
||||
RUSTUP_URL: https://sh.rustup.rs
|
||||
configure:
|
||||
steps:
|
||||
- cmd: curl -o /tmp/install_rust.sh $RUSTUP_URL
|
||||
- cmd: sh /tmp/install_rust.sh -y --default-toolchain stable
|
||||
build:
|
||||
steps:
|
||||
- cmd: bash -c "source $HOME/.cargo/env && make"
|
||||
install:
|
||||
steps:
|
||||
- cmd: bash -c "cd $PKGER_BLD_DIR && DESTDIR=$PKGER_OUT_DIR/usr make install"
|
||||
|
Loading…
Reference in New Issue
Block a user