ports

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

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

ubase: new port

Diffstat:
 ubase/makeme                          | 22 ++++++++++++++++++++++
 ubase/patches/ubase-0.0-unstrip.patch |  9 +++++++++
 2 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/ubase/makeme b/ubase/makeme @@ -0,0 +1,22 @@ +name=ubase +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 + + cat ../patches/ubase-0.0-unstrip.patch + + make CC="$CC" LDFLAGS="$LDFLAGS" + make DESTDIR=$WORKDIR/$name \ + PREFIX= \ + MANPREFIX=/share/man \ + install +} diff --git a/ubase/patches/ubase-0.0-unstrip.patch b/ubase/patches/ubase-0.0-unstrip.patch @@ -0,0 +1,9 @@ +diff -urN a/config.mk b/config.mk +--- a/config.mk 2015-08-11 23:04:57.477810057 +0200 ++++ b/config.mk 2015-08-11 23:08:22.273819451 +0200 +@@ -13,4 +13,4 @@ + CPPFLAGS = -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE + CFLAGS = -std=c99 -Wall -Wextra + LDLIBS = -lcrypt +-LDFLAGS = -s ++LDFLAGS =