ports

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

commit 5e28646232fe1eb9eda51cc8dfb21ab317a136bb
parent 01fcd1c42d6de33b000f15885d4fb777ba5702ae
Author: z3bra <willyatmailoodotorg>
Date:   Tue Sep 22 22:30:04 2015

Remove build dir after work is done

Diffstat:
 musl/makeme     | 3 +++
 pcc-libs/makeme | 3 +++
 pcc/makeme      | 7 ++++---
 sinit/makeme    | 3 +++
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/musl/makeme b/musl/makeme @@ -13,4 +13,7 @@ package() { ln -sf /lib/ld-musl-x86_64.so.1 $WORKDIR/$name/bin/ldd cp ../ldconfig $WORKDIR/$name/bin/ldconfig chmod 755 $WORKDIR/$name/bin/ldconfig + + cd .. + rm -rf $name-$version } diff --git a/pcc-libs/makeme b/pcc-libs/makeme @@ -12,4 +12,7 @@ package() { make CC="$CC" LDFLAGS="$LDFLAGS" make DESTDIR=$WORKDIR/$name install + + cd .. + rm -rf $name-$version } diff --git a/pcc/makeme b/pcc/makeme @@ -10,7 +10,8 @@ package() { ./configure $CONFIGURE_OPT --libexecdir=/libexec/pcc make CC="$CC" LDFLAGS="$LDFLAGS" - make DESTDIR=$WORKDIR/$name \ - MANPREFIX=/man \ - install + make DESTDIR=$WORKDIR/$name MANPREFIX=/man install + + cd .. + rm -rf $name-$version } diff --git a/sinit/makeme b/sinit/makeme @@ -26,4 +26,7 @@ package() { chmod 750 $WORKDIR/$name/sbin/reboot chmod 750 $WORKDIR/$name/sbin/poweroff chmod 755 $WORKDIR/$name/libexec/power.subr + + cd .. + rm -rf $name-$version }