diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-20 00:09:50 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-20 00:09:50 -0400 |
commit | 5c45ef1510be732afb432a7225d51e748be55d4b (patch) | |
tree | 0b0b7427ad414a76dc59965cf6a9612f7a2a0cee /libraries/libxmi | |
parent | c8ebecaf3ac90294b2dc5791ab0ae00093293daa (diff) |
libraries/libxmi: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/libxmi')
-rw-r--r-- | libraries/libxmi/libxmi.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libraries/libxmi/libxmi.SlackBuild b/libraries/libxmi/libxmi.SlackBuild index 3d996920ec399..6b613f6615a76 100644 --- a/libraries/libxmi/libxmi.SlackBuild +++ b/libraries/libxmi/libxmi.SlackBuild @@ -22,25 +22,26 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220420 bkw: Modified by SlackBuilds.org, BUILD=5: +# - remove empty/useless docs. +# - i486 => i586. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libxmi VERSION=${VERSION:-1.2} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} 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 @@ -50,8 +51,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" @@ -75,9 +76,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 \ + -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 {} \+ # Substitute newer automake files that know about x86_64 am=$(automake --version | head -1 | cut -d " " -f 4 | cut -d "." -f 2) @@ -107,7 +108,7 @@ gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING CUSTOMIZE ChangeLog INSTALL NEWS README* TODO VERSION \ + AUTHORS COPYING CUSTOMIZE NEWS README* TODO VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |