libraries/glibmm: Fixed typo in build script.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
dsomero 2011-04-02 15:29:36 -04:00 committed by Robby Workman
parent 143e9e0e2d
commit 659fd0ee31

View file

@ -22,7 +22,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAME=glibmm PRGNAM=glibmm
VERSION=2.27.99 VERSION=2.27.99
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -39,7 +39,7 @@ fi
CWD=$(pwd) CWD=$(pwd)
TMP=${TMP:-/tmp/SBo} TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PKGNAME PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
@ -61,9 +61,9 @@ set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PKGNAME-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PKGNAME-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PKGNAME-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
chmod -R a-s,u+rw,go-w+r . chmod -R a-s,u+rw,go-w+r .
@ -81,17 +81,17 @@ CXXFLAGS="$SLKCFLAGS" \
make make
make install-strip DESTDIR=$PKG make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PKGNAME-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/glibmm-2.4/* $PKG/usr/doc/$PKGNAME-$VERSION mv $PKG/usr/share/doc/glibmm-2.4/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc rm -rf $PKG/usr/share/doc
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PKGNAME-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PKGNAME.SlackBuild > $PKG/usr/doc/$PKGNAME-$VERSION/$PKGNAME.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Remove the API docs # Remove the API docs
rm -rf $PKG/usr/doc/$PKGNAME-$VERSION/docs rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAME-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}