mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-16 02:26:12 +00:00
- Added source package support
- Added 2 new flags for 'bpm list' - Added a new Package Creation section in README.md
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
name: bpm
|
||||
description: The Bubble Package Manager
|
||||
version: 0.0.7
|
||||
version: 0.0.8
|
||||
architecture: x86_64
|
||||
type: binary
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
name: htop
|
||||
description: An interactive process viewer
|
||||
version: 3.3.0
|
||||
architecture: x86_64
|
||||
type: source
|
||||
@@ -0,0 +1,20 @@
|
||||
# This file is read and executed by BPM to compile htop. It will run inside a temporary folder in /tmp during execution
|
||||
echo "Building htop..."
|
||||
# Creating 'source' directory
|
||||
mkdir source
|
||||
# Cloning the git repository into the 'source' directory
|
||||
git clone https://github.com/htop-dev/htop.git source
|
||||
# Changing directory into 'source'
|
||||
cd source
|
||||
# Configuring and making htop according to the installation instructions in the repository
|
||||
./autogen.sh
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
# Creating an 'output' directory in the root of the temporary directory created by BPM
|
||||
mkdir ./../output/
|
||||
# Setting $dir to the 'output' directory
|
||||
dir=$(pwd)/../output/
|
||||
# Installing htop to $dir
|
||||
make DESTDIR="$dir" install
|
||||
# The compilation is done. BPM will now copy the files from the 'output' directory into the root of your system
|
||||
echo "htop compilation complete!"
|
||||
Reference in New Issue
Block a user