Create packaging.md

This commit is contained in:
TheBrokenRail 2020-04-16 14:12:34 -04:00 committed by GitHub
parent 802c58fb1f
commit 3e1b5448a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,38 @@
# Packaging
**NOTE:** This is not extensivly tested, and may break
## Debian
To package Darling for Debian-baded system we provide the ```tools/makedeb``` script.
All output files are stored in ```..``` because of a technical limtation of ```debuild```.
### Install Dependencies
```bash
$ sudp apt install devscripts equivs dpkg-dev
```
### Building Binary Packages
#### Install Build Dependencies
```bash
sudo mk-build-deps -ir
```
#### Build
```bash
$ tools/makedeb
```
### Building Sources Packages
Use this if you want to upload to a service like Launchpad.
```bash
$ tools/makedeb --dsc
```
## RPM
TBD