aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/recode/recode.SlackBuild19
-rw-r--r--misc/recode/recode.info2
2 files changed, 12 insertions, 9 deletions
diff --git a/misc/recode/recode.SlackBuild b/misc/recode/recode.SlackBuild
index 33bfedc55975..136769239ccd 100644
--- a/misc/recode/recode.SlackBuild
+++ b/misc/recode/recode.SlackBuild
@@ -30,13 +30,18 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220412 bkw: Modified by SlackBuilds.org, BUILD=4:
+# - use correct github URL.
+# - strip binary and library.
+# - remove useless ABOUT-NLS from doc dir.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=recode
SRCNAM=Recode
VERSION=${VERSION:-3.7_beta2}
SRCVER=$(echo $VERSION | tr _ -)
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,9 +90,9 @@ cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# allow recode to be built on a gcc that is not ancient -ryan
sed -i "s/bool ignore : 2;/bool ignore : 1;/g" ./src/recodext.h
@@ -106,16 +111,14 @@ CXXFLAGS="$SLKCFLAGS" \
--target=$ARCH-slackware-linux
make
-make install DESTDIR=$PKG
-
-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
+make install-strip DESTDIR=$PKG
+gzip -9 $PKG/usr/man/man*/*
rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ABOUT-NLS AUTHORS COPYING* NEWS README THANKS TODO \
+cp -a AUTHORS COPYING* NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/misc/recode/recode.info b/misc/recode/recode.info
index 87606f74d915..3b28a6495f7e 100644
--- a/misc/recode/recode.info
+++ b/misc/recode/recode.info
@@ -1,7 +1,7 @@
PRGNAM="recode"
VERSION="3.7_beta2"
HOMEPAGE="https://github.com/pinard/Recode"
-DOWNLOAD="https://github.com/pinard/Recode/archive/v3.7-beta2.tar.gz"
+DOWNLOAD="https://github.com/pinard/Recode/archive/v3.7-beta2/Recode-3.7-beta2.tar.gz"
MD5SUM="fd0e609d54fad968fcb52a8eca2d6bf0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""