https://github.com/radicalzephyr/boot-dpkg
A boot task for generating debian binary packages
https://github.com/radicalzephyr/boot-dpkg
Last synced: 3 months ago
JSON representation
A boot task for generating debian binary packages
- Host: GitHub
- URL: https://github.com/radicalzephyr/boot-dpkg
- Owner: RadicalZephyr
- License: epl-1.0
- Created: 2018-04-13T08:29:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T07:04:27.000Z (over 6 years ago)
- Last Synced: 2025-02-15T12:13:52.879Z (3 months ago)
- Language: Clojure
- Size: 29.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# boot-dpkg
[](dependency)
```clojure
[radicalzephyr/boot-dpkg "0.3.1"] ;; latest release
```
[](/dependency)A Boot task for generating debian binary packages.
- Provides a `dpkg` task
## Usage
Set up a task pipeline to create the files you wish to include in the
debian package contents. You probably also want to aggressively filter
out any files in the fileset that should _not_ be included in the
package contents.Then, configure the `dpkg` task with the details of the debian package
control file:``` clojure
(task-options!
dpkg {:package "package-name
:version "0.1.0-1"
:section "admin"
:architecture "all"
:maintainer "Geoff Shannon"
:description "My Super awesome package!"})
```### Control Files
The `control` file is generated automatically by this task based on
the options given, and the `md5sums` file is created automatically
with the hashes for every file in the fileset. If you wish to include
other control files like maintainer scripts, simply create a `DEBIAN`
folder somewhere on your `:resource-paths` and name the files
accordingly.``` clojure
(set-env!
:resource-paths #{"resources"})
``````
resources/DEBIAN/
├── postinst
├── postrm
├── preinst
└── prerm
```## License
Copyright © 2018 Geoff Shannon
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.