diff options
Diffstat (limited to 'development/erlang-otp/erlang-otp.SlackBuild')
-rw-r--r-- | development/erlang-otp/erlang-otp.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/development/erlang-otp/erlang-otp.SlackBuild b/development/erlang-otp/erlang-otp.SlackBuild index 634c6d3a8ee5c..1f40bd3957a07 100644 --- a/development/erlang-otp/erlang-otp.SlackBuild +++ b/development/erlang-otp/erlang-otp.SlackBuild @@ -17,12 +17,13 @@ # to erlang-otp, by LukenShiro <Lukenshiro@ngi.it> 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} |