From d1c01de1cd0906a443a4dafd9cabf7171ed5924e Mon Sep 17 00:00:00 2001 From: Jeff Parent Date: Wed, 9 Sep 2020 23:58:30 +0100 Subject: development/redo: Added (a recursive build system) Signed-off-by: Dave Woodfall --- development/redo/README | 8 +++++ development/redo/redo.SlackBuild | 74 ++++++++++++++++++++++++++++++++++++++++ development/redo/redo.info | 10 ++++++ development/redo/slack-desc | 19 +++++++++++ 4 files changed, 111 insertions(+) create mode 100644 development/redo/README create mode 100644 development/redo/redo.SlackBuild create mode 100644 development/redo/redo.info create mode 100644 development/redo/slack-desc (limited to 'development/redo') diff --git a/development/redo/README b/development/redo/README new file mode 100644 index 0000000000..2c84e9d306 --- /dev/null +++ b/development/redo/README @@ -0,0 +1,8 @@ +redo - a recursive, general-purpose build system + +redo is a competitor to the long-lived, but sadly imperfect make +program. Unlike other such competitors, redo captures the essential +simplicity and flexibility of make, while avoiding its flaws. It manages +to do this while being simultaneously simpler than make, more flexible +than make, and more powerful than make, without sacrificing performance +- a rare combination of features. diff --git a/development/redo/redo.SlackBuild b/development/redo/redo.SlackBuild new file mode 100644 index 0000000000..8dbc926e1e --- /dev/null +++ b/development/redo/redo.SlackBuild @@ -0,0 +1,74 @@ +#!/bin/sh + +# Slackware build script for redo + +# Copyright 2019 Jeff Parent +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +PRGNAM=redo +VERSION=${VERSION:-0.42c} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i586 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION + +DESTDIR=$PKG \ +PREFIX=/usr \ +MANDIR=$PKG/usr/man \ +DOCDIR=$PKG/usr/doc \ + ./do install + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README.md \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/redo/redo.info b/development/redo/redo.info new file mode 100644 index 0000000000..548e345cef --- /dev/null +++ b/development/redo/redo.info @@ -0,0 +1,10 @@ +PRGNAM="redo" +VERSION="0.42c" +HOMEPAGE="https://redo.readthedocs.io" +DOWNLOAD="https://github.com/apenwarr/redo/archive/redo-0.42c.tar.gz" +MD5SUM="8f46244d6e2760c089c8efac521f639a" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="Markdown BeautifulSoup" +MAINTAINER="Jeff Parent" +EMAIL="jeff+SBo@sh0.xyz" diff --git a/development/redo/slack-desc b/development/redo/slack-desc new file mode 100644 index 0000000000..2c0f39c0ca --- /dev/null +++ b/development/redo/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +redo: redo (a recursive build system) +redo: +redo: redo is a competitor to the long-lived, but sadly imperfect make +redo: program. Unlike other such competitors, redo captures the essential +redo: simplicity and flexibility of make, while avoiding its flaws. It +redo: manages to do this while being simultaneously simpler than make, more +redo: flexible than make, and more powerful than make, without sacrificing +redo: performance, a rare combination of features. +redo: +redo: https://redo.readthedocs.io +redo: -- cgit v1.2.3