summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/apetag/apetag.SlackBuild24
-rw-r--r--multimedia/apetag/apetag.info4
2 files changed, 16 insertions, 12 deletions
diff --git a/multimedia/apetag/apetag.SlackBuild b/multimedia/apetag/apetag.SlackBuild
index 3e9e9ce836..c7b92916cc 100644
--- a/multimedia/apetag/apetag.SlackBuild
+++ b/multimedia/apetag/apetag.SlackBuild
@@ -22,15 +22,23 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Now maintained by B. Watson <yalhcru@gmail.com>
+
+# 20160817 bkw:
+# - take over maintenance
+# - BUILD=2
+# - actually use SLKCFLAGS
+# - i486 => i586
+
PRGNAM=apetag
SRCNAM=Apetag
VERSION=${VERSION:-1.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +49,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -70,16 +78,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+make CXXOPT="$SLKCFLAGS" CXXDEBUG="-Wno-error"
+strip $PRGNAM
mkdir -p $PKG/usr/bin
install -Dm 755 apetag cddb.py rmid3tag.py tagdir.py $PKG/usr/bin
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a 00copying 00readme index.html style.css $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/apetag/apetag.info b/multimedia/apetag/apetag.info
index fa53a2e22a..2d743f04a9 100644
--- a/multimedia/apetag/apetag.info
+++ b/multimedia/apetag/apetag.info
@@ -6,5 +6,5 @@ MD5SUM="f47a2fc02ea88018afd05e8a16f11235"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andrew Strong"
-EMAIL="andrew.david.strong@gmail.com"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"