ports

recipes for building multiple softwares
git clone git://z3bra.org/ports
Log | Files | Refs

commit c5d8c7f7dfbf2a02dba5a8531e6b35348712da0c
parent e75fcfd7f59310e855e5022e9c0f5ffd428f27c3
Author: z3bra <willyatmailoodotorg>
Date:   Sun Aug 16 16:47:48 2015

smdev: new port

Diffstat:
 smdev/makeme | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/smdev/makeme b/smdev/makeme @@ -0,0 +1,20 @@ +name=smdev +version=0.0 +source=git://git.2f30.org/$name +commit=HEAD + +package() { + if cd $name-version; then + git reset --hard + git pull + else + git clone $source $name-$version + cd $name-$version + fi + + cd $name-$version + make CC="$CC" LDFLAGS="$LDFLAGS" + make DESTDIR=$WORKDIR/$name \ + PREFIX= \ + install +}