summaryrefslogtreecommitdiff
path: root/libraries/zfec/zfec.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/zfec/zfec.SlackBuild')
-rw-r--r--libraries/zfec/zfec.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/libraries/zfec/zfec.SlackBuild b/libraries/zfec/zfec.SlackBuild
index ea449cea50..b806568df7 100644
--- a/libraries/zfec/zfec.SlackBuild
+++ b/libraries/zfec/zfec.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for zfec.
# Copyright 2010-2011 Marco Bonetti <sid77@slackware.it>
+# Copyright 2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,6 +22,9 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Originally written by Marco Bonetti - Thanks!
+# Now maintained by Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
PRGNAM=zfec
VERSION=${VERSION:-1.4.22}
@@ -75,9 +79,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+#cleanup
+rm $PKG/usr/share/doc/zfec/*
+cd $PKG/usr
+rmdir -p share/doc/zfec
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc