mirror of
https://github.com/darlinghq/darling-docs.git
synced 2025-03-04 17:37:10 +00:00
Create packaging.md
This commit is contained in:
parent
802c58fb1f
commit
3e1b5448a6
38
src/contributing/packaging.md
Normal file
38
src/contributing/packaging.md
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user