summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/convmv/README8
-rw-r--r--system/convmv/convmv.SlackBuild43
-rw-r--r--system/convmv/convmv.info8
-rw-r--r--system/convmv/slack-desc19
4 files changed, 78 insertions, 0 deletions
diff --git a/system/convmv/README b/system/convmv/README
new file mode 100644
index 0000000000..174199b364
--- /dev/null
+++ b/system/convmv/README
@@ -0,0 +1,8 @@
+convmv converts filenames (not file content), directories, and even
+whole filesystems to a different encoding. Though it's primary written
+to convert from/to UTF-8 it can also be used with almost any other
+charset encoding. Convmv can also be used for case conversion from
+upper to lower case and vice versa with virtually any charset.
+
+ATTENTION: Perl 5.10 seems to have a broken from_to() function so that
+convmv can not convert files to UTF-8 without using the --nosmart switch!
diff --git a/system/convmv/convmv.SlackBuild b/system/convmv/convmv.SlackBuild
new file mode 100644
index 0000000000..20354449c1
--- /dev/null
+++ b/system/convmv/convmv.SlackBuild
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+# Slackware build script for convmv
+# Written by Oleg O. Chukaev <oleg.chukaev@mail.ru>
+
+PRGNAM=convmv
+VERSION=1.14
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+make install DESTDIR=$PKG PREFIX=/usr MANDIR=/usr/man
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CREDITS Changes GPL2 SHA256sums TODO VERSION testsuite.tar \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/convmv/convmv.info b/system/convmv/convmv.info
new file mode 100644
index 0000000000..72bee6fa90
--- /dev/null
+++ b/system/convmv/convmv.info
@@ -0,0 +1,8 @@
+PRGNAM="convmv"
+VERSION="1.14"
+HOMEPAGE="http://www.j3e.de/linux/convmv/"
+DOWNLOAD="http://www.j3e.de/linux/convmv/convmv-1.14.tar.gz"
+MD5SUM="d41238051c13b2e6c0cc2310a8f69d68"
+MAINTAINER="Oleg O. Chukaev"
+EMAIL="oleg.chukaev@mail.ru"
+APPROVED="dsomero"
diff --git a/system/convmv/slack-desc b/system/convmv/slack-desc
new file mode 100644
index 0000000000..7c4f66cc84
--- /dev/null
+++ b/system/convmv/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+convmv: convmv (convert filenames to utf8 or any other charset)
+convmv:
+convmv: convmv converts filenames (not file content), directories, and even
+convmv: whole filesystems to a different encoding. Though it's primary written
+convmv: to convert from/to UTF-8 it can also be used with almost any other
+convmv: charset encoding. Convmv can also be used for case conversion from
+convmv: upper to lower case and vice versa with virtually any charset.
+convmv:
+convmv: Homepage: http://www.j3e.de/linux/convmv/
+convmv:
+convmv: