summaryrefslogtreecommitdiff
path: root/system/guix/guix.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2016-12-30 23:56:00 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-12-30 23:56:00 +0000
commit1e92b7eec08e3604214c64c37c89dc22dc38e3a5 (patch)
tree4f4cac9ab02ee0abf2f61e1bccef1dc0f4928b56 /system/guix/guix.SlackBuild
parent82834103d4d32b4cbd67288f01885c3a2bd8ac58 (diff)
downloadslackbuilds-1e92b7eec08e3604214c64c37c89dc22dc38e3a5.tar.gz
system/guix: Updated for version 0.12.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/guix/guix.SlackBuild')
-rw-r--r--system/guix/guix.SlackBuild21
1 files changed, 18 insertions, 3 deletions
diff --git a/system/guix/guix.SlackBuild b/system/guix/guix.SlackBuild
index 2f1dacbcbf..02c68b9904 100644
--- a/system/guix/guix.SlackBuild
+++ b/system/guix/guix.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=guix
-VERSION=${VERSION:-0.11.0}
+VERSION=${VERSION:-0.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,6 +62,16 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+for bin in armhf i686 mips64el x86_64; do
+ case "$bin" in
+ armf ) GVERS=2.0.11 ;;
+ * ) GVERS=2.0.9 ;;
+ esac
+ if [ -f $CWD/guile_${bin}_linux-${GVERS}.tar.xz ]; then
+ cp -a $CWD/guile_${bin}_linux-${GVERS}.tar.xz \
+ gnu/packages/bootstrap/${bin}-linux/guile-${GVERS}.tar.xz
+ fi
+done
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -86,6 +96,11 @@ else
nix=""
fi
+# import: crate: Do not build when guile-json is not available.
+# http://git.savannah.gnu.org/cgit/guix.git/commit/?id=6023041346c79f7ac4105bba2552a82019fae840
+zcat $CWD/guile-json.patch.gz | patch -p1
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -118,8 +133,8 @@ gzip -9 $PKG/usr/info/*.info*
for i in systemd upstart; do rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/$i; done
-DOCS="ABOUT-NLS AUTHORS CODE-OF-CONDUCT COPYING ChangeLog HACKING INSTALL NEWS \
- README ROADMAP THANKS TODO"
+DOCS="ABOUT-NLS AUTHORS CODE-OF-CONDUCT COPYING HACKING INSTALL NEWS README \
+ ROADMAP THANKS TODO"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION