diff options
-rw-r--r-- | libraries/libdmapsharing/libdmapsharing.SlackBuild | 23 | ||||
-rw-r--r-- | libraries/libdmapsharing/libdmapsharing.info | 2 |
2 files changed, 14 insertions, 11 deletions
diff --git a/libraries/libdmapsharing/libdmapsharing.SlackBuild b/libraries/libdmapsharing/libdmapsharing.SlackBuild index 1a670a78ef144..aaaf4377587f1 100644 --- a/libraries/libdmapsharing/libdmapsharing.SlackBuild +++ b/libraries/libdmapsharing/libdmapsharing.SlackBuild @@ -4,25 +4,27 @@ # Written by crocket (crockabiscuit@gmail.com) +# 20220422 bkw: Modified by SlackBuilds.org, BUILD=4: +# - remove empty NEWS from doc dir. +# - symlink html docs to doc dir. +# - i486 => i586. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libdmapsharing VERSION=${VERSION:-2.1.9} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; 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 @@ -32,8 +34,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" @@ -57,9 +59,9 @@ 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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ # Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. @@ -83,8 +85,9 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \ + AUTHORS COPYING ChangeLog README* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION +ln -s ../../share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/libraries/libdmapsharing/libdmapsharing.info b/libraries/libdmapsharing/libdmapsharing.info index 5158c3c380461..fe3b3fa9a7ba8 100644 --- a/libraries/libdmapsharing/libdmapsharing.info +++ b/libraries/libdmapsharing/libdmapsharing.info @@ -1,7 +1,7 @@ PRGNAM="libdmapsharing" VERSION="2.1.9" HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/" -DOWNLOAD="https://www.flyn.org/projects/libdmapsharing/libdmapsharing-2.1.9.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/libdmapsharing-2.1.9.tar.gz" MD5SUM="04f722d08f56a01f3c985bfdeb4b28ea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |