summaryrefslogtreecommitdiffstats
path: root/calibre
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-05-18 22:05:33 +0000
committer Eric Hameleers <alien@slackware.com>2012-05-18 22:05:33 +0000
commit89fccedf0d072e4828ded38b4975ba5e4bedec5e (patch)
tree9f9f2da96811d36bd4337aedc1ffef222679bfe7 /calibre
parentbb8ee9a6818ee60e7c04fcefd42880d758c8159e (diff)
downloadasb-89fccedf0d072e4828ded38b4975ba5e4bedec5e.tar.gz
asb-89fccedf0d072e4828ded38b4975ba5e4bedec5e.tar.xz
Calibre stopped shipping man pages
Diffstat (limited to 'calibre')
-rwxr-xr-xcalibre/build/calibre.SlackBuild17
1 files changed, 2 insertions, 15 deletions
diff --git a/calibre/build/calibre.SlackBuild b/calibre/build/calibre.SlackBuild
index c5d58f51..97e26d7e 100755
--- a/calibre/build/calibre.SlackBuild
+++ b/calibre/build/calibre.SlackBuild
@@ -136,7 +136,8 @@
# 0.8.51-1: 11/may/2012 by Eric Hameleers <alien@slackware.com>
# * Update.
# 0.8.52-1: 18/may/2012 by Eric Hameleers <alien@slackware.com>
-# * Update.
+# * Update. Man pages are no longer included as all utilities
+# have more comprehensive command line "--help".
#
# Run 'sh calibre.SlackBuild' to build a Slackware package.
# The package (.txz) and .txt file as well as build logs are created in /tmp .
@@ -743,10 +744,6 @@ make_calibre () {
# Cut out the DOS crap:
sed -i -e 's/\r//' src/calibre/web/feeds/recipes/*
- # Use standard manpage names:
- cat $PATCHDIR/calibre.manpages.diff | patch -p1 --verbose \
- 2>&1 | tee $OUTPUT/patch-$PRGNAM.log
-
OVERRIDE_LDFLAGS="$LDFLAGS $SLKLDFLAGS" \
OVERRIDE_CFLAGS="$SLKCFLAGS" \
python setup.py build \
@@ -771,10 +768,6 @@ make_calibre () {
# The bash completion files need to be in /etc :
mv $PKG/usr/etc $PKG/
- # Move the man pages to the standard location:
- mv $PKG/usr/share/calibre/man $PKG/usr
- ln -sf /usr/man $PKG/usr/share/calibre/man
-
# Mime type definition files end in .xml :
mv $PKG/usr/share/mime/packages/calibre-mimetypes{,.xml}
@@ -966,12 +959,6 @@ cat $SRCDIR/$(basename $0) > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc -type f -exec chmod 644 {} \;
-# Compress the man page(s):
-if [ -d $PKG/usr/man ]; then
- find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \;
- for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-fi
-
# Strip binaries (if any):
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true