summaryrefslogtreecommitdiff
path: root/development/gprolog/gprolog.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/gprolog/gprolog.SlackBuild')
-rw-r--r--development/gprolog/gprolog.SlackBuild4
1 files changed, 0 insertions, 4 deletions
diff --git a/development/gprolog/gprolog.SlackBuild b/development/gprolog/gprolog.SlackBuild
index b0d3c74fa9..4cf6f816e8 100644
--- a/development/gprolog/gprolog.SlackBuild
+++ b/development/gprolog/gprolog.SlackBuild
@@ -62,7 +62,6 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--build=$ARCH-slackware-linux
-# Compile the application and install it into the $PKG directory
make -j1
make install DESTDIR=$PKG
@@ -75,16 +74,13 @@ mv $PKG/usr/$PRGNAM-$VERSION/doc $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/examples* $PKG/usr/doc/$PRGNAM-$VERSION/
mv $PKG/usr/$PRGNAM-$VERSION/include $PKG/usr/
-# Strip binaries and libraries
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Documentation
mv $PKG/usr/$PRGNAM-$VERSION/{ChangeLog,COPYING,NEWS} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-# Make the package
rm -rf $PKG/usr/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc