Initial commit.
This commit is contained in:
commit
3de3ebff56
21
License.md
Normal file
21
License.md
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2018 Fabian Klemp
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
40
Readme.md
Normal file
40
Readme.md
Normal file
@ -0,0 +1,40 @@
|
||||
# fpkg
|
||||
|
||||
This is a linux package manager focussed on simplicity, rather than feature
|
||||
completeness. This is rather for my personal education, than for producing
|
||||
something useful.
|
||||
|
||||
## Dependencies
|
||||
* fakeroot
|
||||
* bash
|
||||
* zstd
|
||||
* tar
|
||||
* coreutils
|
||||
|
||||
## Installation
|
||||
``` bash
|
||||
make install DESTDIR=/desired/path
|
||||
```
|
||||
|
||||
## Usage
|
||||
### Prerequesite
|
||||
``` bash
|
||||
mkdir /pkg # folder for storing packages
|
||||
```
|
||||
|
||||
|
||||
**c**reate **p**ac**k**a**g**e:
|
||||
```bash
|
||||
cd build_dir/of/foo
|
||||
cpkg make install # DESTDIR is set by cpkg
|
||||
```
|
||||
|
||||
**i**nstall **p**ac**k**a**g**e:
|
||||
``` bash
|
||||
ipkg foo
|
||||
```
|
||||
|
||||
**r**emove **p**ac**k**a**g**e:
|
||||
``` bash
|
||||
rpkg foo
|
||||
```
|
Loading…
Reference in New Issue
Block a user