aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-11-21 14:00:03 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-04 10:08:57 +0700
commit88338fdb7bd4c858c9f2dfd59195be2da642f236 (patch)
treef3ae71bf0b6896dbd8079db932f3da306917c9a4
parent876b0162e57421f3ada2a1f1b475ff8fdb11986c (diff)
libraries/libmp3splt: Get rid of .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libmp3splt/README2
-rw-r--r--libraries/libmp3splt/libmp3splt.SlackBuild19
-rw-r--r--libraries/libmp3splt/libmp3splt.info2
3 files changed, 10 insertions, 13 deletions
diff --git a/libraries/libmp3splt/README b/libraries/libmp3splt/README
index cbc45ad90fdf..6505f70f0884 100644
--- a/libraries/libmp3splt/README
+++ b/libraries/libmp3splt/README
@@ -1,3 +1,5 @@
+libmp3splt (library from the mp3splt project)
+
Mp3Splt-project is a utility to split mp3 and ogg files selecting a begin
and an end time position, without decoding. It's very useful to split
large mp3/ogg to make smaller files or to split entire albums to obtain
diff --git a/libraries/libmp3splt/libmp3splt.SlackBuild b/libraries/libmp3splt/libmp3splt.SlackBuild
index 63a8f621ff96..ff08214962d5 100644
--- a/libraries/libmp3splt/libmp3splt.SlackBuild
+++ b/libraries/libmp3splt/libmp3splt.SlackBuild
@@ -22,20 +22,19 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20211121 bkw: BUILD=2, remove .la files
+# 20150107 bkw: Updated for 0.9.2
# 20140819 bkw:
# - Updated for 0.9.1a
# - Include doc/examples in package
# - Get rid of a couple useless doc files
# - Use make install-strip insteaad of find/xargs/strip
-# 20150107 bkw:
-# - Updated for 0.9.2
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libmp3splt
VERSION=${VERSION:-0.9.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -47,9 +46,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,11 +78,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
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 \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -100,6 +93,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
+rm -f $PKG/usr/lib*/{*,*/*}.la
+
# leave off TODO, it's 0 bytes. also INSTALL is irrelevant.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS ChangeLog COPYING LIMITS NEWS README doc/examples \
diff --git a/libraries/libmp3splt/libmp3splt.info b/libraries/libmp3splt/libmp3splt.info
index 99b299bd45cb..c8ece016f84c 100644
--- a/libraries/libmp3splt/libmp3splt.info
+++ b/libraries/libmp3splt/libmp3splt.info
@@ -1,7 +1,7 @@
PRGNAM="libmp3splt"
VERSION="0.9.2"
HOMEPAGE="http://mp3splt.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/mp3splt/libmp3splt-0.9.2.tar.gz"
+DOWNLOAD="https://downloads.sourceforge.net/mp3splt/libmp3splt-0.9.2.tar.gz"
MD5SUM="28009187c1cbd0bce50138029532647d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""