diff options
Diffstat (limited to 'system/plan9port/plan9port.SlackBuild')
-rw-r--r-- | system/plan9port/plan9port.SlackBuild | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/system/plan9port/plan9port.SlackBuild b/system/plan9port/plan9port.SlackBuild index f36c73fcb3..c9ee6389f5 100644 --- a/system/plan9port/plan9port.SlackBuild +++ b/system/plan9port/plan9port.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for plan9port -# Copyright (c) 2012, Ruben Schuller <ruben@orgizm.net> +# Copyright (c) 2012,2013 Ruben Schuller <ruben@orgizm.net> # # Copyright (c) 2008-2010, Antonio Hernández Blas <hba.nihilismus@gmail.com> # All rights reserved. @@ -26,7 +26,7 @@ # 2012-10-23: added some changes to reflect the usage of nightly tarballs PRGNAM=plan9port -VERSION=${VERSION:-20121022} +VERSION=${VERSION:-20130308} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,6 +48,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG/opt $OUTPUT cd $TMP +rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tgz cd $PRGNAM chown -R root:root . @@ -58,18 +59,7 @@ find . \ -exec chmod 644 {} \; # All plan9 programs are going to be installed in "/opt/plan9" - -# The default prefix for plan9 is "/usr/local/plan9" and some files (that are -# listed in $TMP/plan9/lib/moveplan9.files) are going to end up with that -# prefix hardcoded. There's a script that resolves this problem, and the -# compilation runs it by default, but we'll have to edit it because it uses -# the current build directory as the path. I've tried passing /opt/plan9 -# as the value of PLAN9, hoping the script would pick it up and do the -# right thing, but no dice, so we'll kludge it. --rworkman -sed -i 's:^new=`cleanname $PLAN9`$:new=`cleanname /opt/plan9`:' \ - lib/moveplan9.sh - -./INSTALL +PLAN9_TARGET=/opt/plan9 ./INSTALL cd $TMP mv $PRGNAM $PKG/opt/plan9 |