From 1c6648ea2816eeca36fcc82fae5d38c3df213cc9 Mon Sep 17 00:00:00 2001 From: Ben Mendis Date: Thu, 13 May 2010 00:24:33 +0200 Subject: development/erlang-otp: Updated for version 13B03 --- development/erlang-otp/erlang-otp.SlackBuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'development/erlang-otp/erlang-otp.SlackBuild') diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild index 634c6d3a8e..1f40bd3957 100644 --- a/development/erlang-otp/erlang-otp.SlackBuild +++ b/development/erlang-otp/erlang-otp.SlackBuild @@ -17,12 +17,13 @@ # to erlang-otp, by LukenShiro PRGNAM=erlang-otp -VERSION=13B01 +VERSION=13B03 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRC_NAME_VERSION=otp_src_R${VERSION} +DOC_NAME_VERSION=otp_doc_man_R${VERSION} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -70,9 +71,15 @@ cd $PKG/usr/bin done cd - +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/erlang +tar xvf $CWD/$DOC_NAME_VERSION.tar.gz -C $PKG/usr/lib${LIBDIRSUFFIX}/erlang +chown -R root:root $PKG/usr/lib${LIBDIRSUFFIX}/erlang +chmod -R u+w,go+r-w,a-s $PKG/usr/lib${LIBDIRSUFFIX}/erlang + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh +sed "s%@LIBDIR@%/usr/lib${LIBDIRSUFFIX}%g" $CWD/doinst.sh > \ + $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3