Skip to content

Commit

Permalink
Initial specification
Browse files Browse the repository at this point in the history
  • Loading branch information
yrashk committed Feb 15, 2011
1 parent e43f6dd commit eab9e24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
18 changes: 9 additions & 9 deletions agner.config
@@ -1,9 +1,9 @@
{name, "[Package Name]"}.
{authors, ["[Author Name] <[Author Email]>"]}.
{description, "[Package Synopsis]"}.
{homepage, "[Package Homepage]"}.
{rebar_compatible, true}.
{license, "[Package License]", "[Optional Package License File]"}.
{url, {git, "[Package Git URL]", [Package Git Ref]}}. % Ref is either "[sha1]", or {tag, "[tag name]"} or {brach, "[BranchName]"}
{applications, []}.
% url also accepts {hg, "[Package Hg URL]", "[Package Hg Rev]"}
{name, "efene"}.
{authors, ["Mariano Guerra <luismarianoguerra@gmail.com>"]}.
{description, "Programming language with C-like syntax that runs on the Erlang platform"}.
{homepage, "http://marianoguerra.com.ar/efene"}.
{license, "BSD", "LICENSE"}.
{url, {git, "https://github.com/marianoguerra/efene.git", {branch, "master"}}}.
{build_command, "./build.sh"}.
{install_command, "$AGNER_PACKAGE_REPO/install.sh"}.
{bin_files, ["bin/efene"]}.
6 changes: 6 additions & 0 deletions install.sh
@@ -0,0 +1,6 @@
#! /bin/sh

cp -rv * $AGNER_INSTALL_PREFIX
echo "#! /bin/sh" > $AGNER_INSTALL_PREFIX/bin/efene
echo "FNPATH=$AGNER_INSTALL_PREFIX $AGNER_INSTALL_PREFIX/bin/fnc \$*" >> $AGNER_INSTALL_PREFIX/bin/efene
chmod +x $AGNER_INSTALL_PREFIX/bin/efene

0 comments on commit eab9e24

Please sign in to comment.