[Slackbuilds-users] Hardcoded OUTPUT in eigen3.SlackBuild
Robby Workman
rworkman at slackbuilds.org
Sun Feb 12 17:01:33 UTC 2012
On Sun, 12 Feb 2012 14:25:02 +0200
Fridrich von Stauffenberg <cancellor2 at gmail.com> wrote:
> libraries/eigen3.SlackBuild, line 99:
>
> > /sbin/makepkg -l y -c
> > n /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
>
> If there's an overridden $OUTPUT, I suppose that would be a bit
> confusing to have the package created elsewhere. In addition, sbopkg
> will fail to auto-install it. Maybe 's/\/tmp/$OUTPUT/'?
commit 6d0f7c0782f883893aceb98da03262b73e353437
Author: Fridrich von Stauffenberg <cancellor2 at gmail.com>
Date: Sun Feb 12 10:34:47 2012 -0600
libraries/eigen3: Fixed hardcoded package location
Signed-off-by: Robby Workman <rworkman at slackbuilds.org>
diff --git a/libraries/eigen3/eigen3.SlackBuild b/libraries/eigen3/eigen3.SlackBuild
index 29908a5..7e10d6b 100644
--- a/libraries/eigen3/eigen3.SlackBuild
+++ b/libraries/eigen3/eigen3.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=eigen3
VERSION=${VERSION:-3.0.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
TARVERSION=eigen-13a11181fc5a
@@ -96,4 +96,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n /tmp/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20120212/b8e0f45e/attachment-0001.asc>
More information about the SlackBuilds-users
mailing list