diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-23 21:51:43 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-23 21:51:43 +0200 |
| commit | 1237648db43d1d60e19829e35f9db0ff2bb80f0c (patch) | |
| tree | 72b98343b32ac616fd49829efc8187fddcf6e11c | |
| parent | 6080b9a18e6b5085b28c34be70bfffad8a4fc011 (diff) | |
| download | slackbuilds-1237648db43d1d60e19829e35f9db0ff2bb80f0c.tar.gz | |
erlang-otp: Clean up for the current version
| -rw-r--r-- | erlang-otp/doinst.sh | 2 | ||||
| -rw-r--r-- | erlang-otp/erlang-otp.SlackBuild | 25 |
2 files changed, 9 insertions, 18 deletions
diff --git a/erlang-otp/doinst.sh b/erlang-otp/doinst.sh deleted file mode 100644 index 2024911..0000000 --- a/erlang-otp/doinst.sh +++ /dev/null @@ -1,2 +0,0 @@ -chroot . sh @LIBDIR@/erlang/Install -minimal @LIBDIR@/erlang 1>/dev/null 2>/dev/null - diff --git a/erlang-otp/erlang-otp.SlackBuild b/erlang-otp/erlang-otp.SlackBuild index 3f4db72..e23c437 100644 --- a/erlang-otp/erlang-otp.SlackBuild +++ b/erlang-otp/erlang-otp.SlackBuild @@ -84,29 +84,24 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --with-ssl-rpath=no \ + --disable-year2038 \ --build=$ARCH-slackware-linux -INSTALL_DV="install: install.dirs install.emulator install.libs" -sed -i -e "s|$INSTALL_DV install.Install install.bin|$INSTALL_DV|" Makefile - make -make INSTALL_PREFIX=$PKG install +make DESTDIR=$PKG install -cd $PKG/usr/bin - for file in erl erlc epmd run_erl to_erl dialyzer typer escript ; do - rm -f $file - ln -s ../lib${LIBDIRSUFFIX}/erlang/bin/$file . - done -cd - +rm -f $PKG/usr/lib${LIBDIRSUFFIX}/erlang/Install +find $PKG -type d -empty -delete -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/usr/doc/$PRGNAM-$VERSION -# ( cd $PKG/usr/lib${LIBDIRSUFFIX}/erlang -# mv COPYRIGHT README.md $PKG/usr/doc/$PRGNAM-$VERSION ) +cp -a \ + LICENSE.txt README.md CONTRIBUTING.md SECURITY.md \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -115,11 +110,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mv $PKG/usr/lib${LIBDIRSUFFIX}/erlang/man $PKG/usr find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done - + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -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.$PKGTYPE |
