Skip to content

Commit

Permalink
updated example package
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksArt000 committed Aug 25, 2024
1 parent 7e8e143 commit 6ef2718
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion example.ecmp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ $NAME-$VERSION.tar.gz https://example.com/$NAME-$VERSION.tar.gz bc968e5286...(s

tar -xzf $NAME-$VERSION.tar.gz

# this is a bash script to build the package

[prepare]

# Usually just configuring and making the package is enough
# If something needs to be ran as root, it should be in the [install] section

./configure --prefix=/usr
make

# this is basically a bash script to install the package

[install]
Expand All @@ -87,7 +97,6 @@ tar -xzf $NAME-$VERSION.tar.gz
# And make provided with $MAKE_FLAGS
# That is usually achived by having:

make
make DESTDIR=$BUILD_ROOT install

# Notice that there is no need to use sudo as
Expand Down

0 comments on commit 6ef2718

Please sign in to comment.