-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Soviet-Linux/Example-ecmp
Added an example for an ecmp file
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# basic information about the package | ||
[info] | ||
name = example | ||
version = 1.0.0 | ||
type = src # If your are trying to make a package for a binary change this from "src" to "bin" | ||
license = Example | ||
url = example.com # Here you put the url to the archive or binary file | ||
|
||
# package description , it can be on multiple lines and we support makdown | ||
[description] | ||
Example | ||
|
||
# Here you type any dependencies this program needes on runtime | ||
[dependencies] | ||
exampledep | ||
|
||
# Here you type any dependencies this program needes on build time | ||
[makedeps] | ||
examplebuilddep | ||
|
||
# A Script to download and extract the archive | ||
[download] | ||
curl -L $URL | tar -xz | ||
|
||
# this is basically a bash script to install the package | ||
[install] | ||
echo "EXAMPLE" | ||
|
||
# this is a bash script that is run after the installation | ||
[special] | ||
echo "This is SPECIAL" | ||
|
||
# Here you can manually type any place where upon build time the Makefile installs libs or something else in a specific place | ||
[locations] | ||
/usr/lib/example/ | ||
|
||
# Also it should be noted that there are variables that are set before executing any of the scripts and basically every parameter in the info section is passed as a variable to every script like: for name there is $NAME variable containg the name, $VERSION for the version, $URL for the url and so on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters