diff options
author | Pedro Mendes <pedro@gepasi.org> | 2022-04-01 16:22:35 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:20 +0700 |
commit | c8c463cb6a42b92b842aa4653996ce4191da35a8 (patch) | |
tree | 8bb92c96fe3c37bfc78554ce43c6a2e96754034c /libraries/libEMF/libEMF.SlackBuild | |
parent | 70dcf9f89f67b829162fa07cc9fcf6087945c04a (diff) |
libraries/libEMF: Updated for version 1.0.13.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libEMF/libEMF.SlackBuild')
-rw-r--r-- | libraries/libEMF/libEMF.SlackBuild | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/libraries/libEMF/libEMF.SlackBuild b/libraries/libEMF/libEMF.SlackBuild index d4e6bf98d4c69..88889330d1eef 100644 --- a/libraries/libEMF/libEMF.SlackBuild +++ b/libraries/libEMF/libEMF.SlackBuild @@ -6,8 +6,9 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libEMF -VERSION=${VERSION:-1.0.7} -BUILD=${BUILD:-2} +SRCNAM=libemf +VERSION=${VERSION:-1.0.13} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -19,6 +20,9 @@ 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 @@ -47,15 +51,15 @@ 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 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +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 CFLAGS="$SLKCFLAGS" \ @@ -67,12 +71,13 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --enable-editing \ + --disable-static \ --build=$ARCH-slackware-linux make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 @@ -80,8 +85,6 @@ cp -a AUTHORS ChangeLog COPYING COPYING.LIB INSTALL NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -rm -f $PKG/usr/lib*/*.la - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |