diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-18 17:25:45 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-18 17:25:45 -0400 |
commit | 362023e7759e13b5b9b24ac3d71582898f4ef01f (patch) | |
tree | ac28307b604d7c1d4e19d79a5590c47ada84ba1c /libraries/libEMF/libEMF.SlackBuild | |
parent | 195c4f77cdd0c7ab3d6b47c08719db85397bed62 (diff) |
libraries/libEMF: Remove .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/libEMF/libEMF.SlackBuild')
-rw-r--r-- | libraries/libEMF/libEMF.SlackBuild | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libraries/libEMF/libEMF.SlackBuild b/libraries/libEMF/libEMF.SlackBuild index 88889330d1ee..6a0cf1984490 100644 --- a/libraries/libEMF/libEMF.SlackBuild +++ b/libraries/libEMF/libEMF.SlackBuild @@ -3,12 +3,16 @@ # Slackware build script for libEMF # written by <pedro@gepasi.org>, hereby in the public domain +# 20220418 bkw: Modified by SlackBuilds.org, BUILD=2: +# - remove .la files. Again. +# - remove useless INSTALL from doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libEMF SRCNAM=libemf VERSION=${VERSION:-1.0.13} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -20,9 +24,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 @@ -57,11 +58,12 @@ cd $SRCNAM-$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 \ + -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 {} \+ # static library is activated because the perl extension needs it +# 20220418 bkw: I see "--disable-static" here. Also, what perl extension? CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -75,13 +77,11 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 +make install-strip DESTDIR=$PKG +rm -f $PKG/usr/lib*/*.la mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING COPYING.LIB INSTALL NEWS README \ +cp -a AUTHORS ChangeLog COPYING COPYING.LIB NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |