diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 12:21:44 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-16 19:43:00 -0400 |
commit | 2e306301770429a1175a72e466c3a4cf53235a89 (patch) | |
tree | d44e33a39552ecdd775d174d00faf5e5f563e013 /python/gerbmerge/gerbmerge.SlackBuild | |
parent | d340f92381b08dbbe763a460707148d6d22b2344 (diff) | |
download | slackbuilds-2e306301770429a1175a72e466c3a4cf53235a89.tar.gz |
python/gerbmerge: Fixed python path
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/gerbmerge/gerbmerge.SlackBuild')
-rw-r--r-- | python/gerbmerge/gerbmerge.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python/gerbmerge/gerbmerge.SlackBuild b/python/gerbmerge/gerbmerge.SlackBuild index d3c89b1398..c4d085b556 100644 --- a/python/gerbmerge/gerbmerge.SlackBuild +++ b/python/gerbmerge/gerbmerge.SlackBuild @@ -22,6 +22,12 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "x86_64" ]; then + LIBDIRSUFFIX="64" +else + LIBDIRSUFFIX="" +fi + set -e rm -rf $PKG @@ -31,7 +37,7 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION -patch -p1 < $CWD/fix-install-paths.patch +sed s/lib/lib$LIBDIRSUFFIX/ $CWD/fix-install-paths.patch | patch -p1 chown -R root:root . find . \ |