diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-09 05:42:33 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-18 06:58:52 +0700 |
commit | 300d8aa517273b33bb9469f008887d1a4f6bfd1d (patch) | |
tree | 866270163691eefdf587b46b61a4136d13693d2f /development/jeex | |
parent | c624b07bd80e18acaacdccb02d5c23cfa4f5cc38 (diff) | |
download | slackbuilds-300d8aa517273b33bb9469f008887d1a4f6bfd1d.tar.gz |
development/jeex: New maintainer, fix build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'development/jeex')
-rw-r--r-- | development/jeex/jeex.SlackBuild | 47 | ||||
-rw-r--r-- | development/jeex/jeex.info | 10 |
2 files changed, 36 insertions, 21 deletions
diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild index 33d703a488..9f721affae 100644 --- a/development/jeex/jeex.SlackBuild +++ b/development/jeex/jeex.SlackBuild @@ -3,7 +3,8 @@ # Slackware build script for jeex # Originally by Luis Henrique <lmello.009@gmail.com> -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Modified by Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Now maintained by B. Watson (yalhcru@gmail.com) # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -23,15 +24,24 @@ # with this program (most likely, a file named COPYING). If not, see # <http://www.gnu.org/licenses/>. +# 20170309 bkw: +# - take over maintenance +# - build was failing due to autoconf brain damage, fix +# - i486 => i586 +# - old homepage MIA, use github +# - use github download. contents of tarball are identical, but +# the top-level dir name now matches $VERSION +# - fix bad permissions (docs, desktop, and /etc/jeex.rc.new were +x) +# - BUILD=3 + PRGNAM=jeex VERSION=${VERSION:-12.6.1} -DIRVERSION=12.6 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +52,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" @@ -63,27 +73,32 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$DIRVERSION +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 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# upstream's permissions are horrid, don't use standard template here. +find . -type f -a -exec chmod 644 {} + +find . -type d -a -exec chmod 755 {} + + +# stoopid autoconf requires NEWS and AUTHORS. yeah, you can require them, +# but you can't force people to actually write documentation in them. +touch NEWS AUTHORS +rm -f configure +autoreconf -if + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/development/jeex/jeex.info b/development/jeex/jeex.info index ab8514350a..52d0becfe3 100644 --- a/development/jeex/jeex.info +++ b/development/jeex/jeex.info @@ -1,10 +1,10 @@ PRGNAM="jeex" VERSION="12.6.1" -HOMEPAGE="http://www.hds619.net/jeex.php" -DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/jeex/jeex-12.6.1.tar.bz2" -MD5SUM="7a6035de61d04b0dabb4b31fc356ac52" +HOMEPAGE="https://github.com/NeckersBOX/jeex" +DOWNLOAD="https://github.com/NeckersBOX/jeex/releases/download/Jeex-12.6.1/jeex-12.6.1.tar.bz2" +MD5SUM="d519da7ee87a863d4c7ad4939c67f5fe" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Ryan P.C. McQuen" -EMAIL="ryanpcmcquen@member.fsf.org" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" |