Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@ CXX = g++
CXXFLAGS = -std=c++17 -Wall -Wextra -O2

# Target binary
TARGET = base
TARGET = pms

# Source files
SRC = base.cpp
SRC = pms.cpp

all: $(TARGET)

$(TARGET): $(SRC)
$(CXX) $(CXXFLAGS) -o $(TARGET) $(SRC)

install: $(TARGET)
mkdir -p $(HOME)/Documents/pms/compiled
cp $(TARGET) $(HOME)/Documents/pms/compiled/
mv -v $(TARGET) $(HOME)/Documents/pms/compiled/

clean:
rm -f $(TARGET)
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,19 @@
PMS2 is a package manager for LFS/BLFS/SLFS/ALFS systems.

## Currently supported systems
- [LFS](linuxfromscratch.org/lfs)
- [BLFS](linuxfromscratch.org/blfs)
- [ALFS/JHALFS](linuxfromscratch.org/alfs)
- [SLFS](linuxfromscratch.org/slfs)
- [LFS](https://linuxfromscratch.org/lfs)
- [BLFS](https://linuxfromscratch.org/blfs)
- [ALFS/JHALFS](https://linuxfromscratch.org/alfs)
- [SLFS](https://linuxfromscratch.org/slfs)


## Packages
All packages are currently located [here](https://github.com/bjl32/pmspax/)

## TODO

- The Linux Kernel
- fstab
- Root password
- tzselect

30 changes: 30 additions & 0 deletions cpkgstruct
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
echo "======================="
echo "Name? "
echo "======================="
read name
mkdir $name
mkdir $name/control
mkdir $name/pkgroot
mkdir $name/pkgroot/usr
touch $name/control/control
echo "Name: $name" > $name/control/control
echo "======================="
echo "Version? "
echo "======================="
read ver
echo "Version: $ver" >> $name/control/control
echo "======================="
echo "Dep?"
echo "======================="
read deps
echo "Depends: $deps" >> $name/control/control
echo "======================="
echo "OK DONE"
echo "-----------------------"
echo "Dir Tree: "
echo "======================="
tree $name
echo "======================="
echo "Control File: "
echo "======================="
cat $name/control/control
2 changes: 0 additions & 2 deletions paks/.directory

This file was deleted.

3 changes: 0 additions & 3 deletions paks/testpkg/control/control

This file was deleted.

2 changes: 0 additions & 2 deletions paks/testpkg/pkgroot/usr/bin/hello

This file was deleted.

File renamed without changes.