feat: switch to /usr layout and add dynamic dependency detection
- Move binaries to /usr/bin and /usr/libexec for system integration - Add find-deps.sh script to detect required system packages from .so files - Update Makefile to generate Depends field dynamically using apt-file - Add list-deps target to Makefile for dependency analysis - Update README with new usage, features, and instructions - Update CI workflow to install apt-file and update its database
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
- main
|
||||
schedule:
|
||||
# Check daily at 2 AM for new versions
|
||||
- cron: '0 2 * * *'
|
||||
- cron: "0 2 * * *"
|
||||
workflow_dispatch:
|
||||
# Allow manual triggering
|
||||
|
||||
@@ -56,7 +56,11 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y wget curl jq dpkg-dev
|
||||
sudo apt-get install -y wget curl jq dpkg-dev apt-file
|
||||
|
||||
- name: Update apt-file database
|
||||
run: |
|
||||
sudo apt-file update
|
||||
|
||||
- name: Build DEB package
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user