diff options
Diffstat (limited to 'development/jeex')
-rw-r--r-- | development/jeex/doinst.sh | 4 | ||||
-rw-r--r-- | development/jeex/jeex.SlackBuild | 58 | ||||
-rw-r--r-- | development/jeex/jeex.info | 10 |
3 files changed, 48 insertions, 24 deletions
diff --git a/development/jeex/doinst.sh b/development/jeex/doinst.sh index d8aa7f214f61b..8ecf7cdfc4f3f 100644 --- a/development/jeex/doinst.sh +++ b/development/jeex/doinst.sh @@ -1,4 +1,4 @@ - config() { +config() { NEW="$1" OLD="$(dirname $NEW)/$(basename $NEW .new)" # If there's no config file by that name, mv it over: @@ -11,9 +11,7 @@ # Otherwise, we leave the .new copy for the admin to consider... } -config etc/jeex/magic.binary.new config etc/jeex/jeex.rc.new -config etc/jeex/magic.text.new if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild index 95f7af139d571..bd63d82dede78 100644 --- a/development/jeex/jeex.SlackBuild +++ b/development/jeex/jeex.SlackBuild @@ -2,11 +2,32 @@ # Slackware build script for jeex -# Written by Luis Henrique <lmello.009@gmail.com> +# Originally by Luis Henrique <lmello.009@gmail.com> +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.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 +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version, with the following exception: +# the text of the GPL license may be omitted. + +# This program is distributed in the hope that it will be useful, but +# without any warranty; without even the implied warranty of +# merchantability or fitness for a particular purpose. Compiling, +# interpreting, executing or merely reading the text of the program +# may result in lapses of consciousness and/or very being, up to and +# including the end of all existence and the Universe as we know it. +# See the GNU General Public License for more details. + +# You may have received a copy of the GNU General Public License along +# with this program (most likely, a file named COPYING). If not, see +# <http://www.gnu.org/licenses/>. + PRGNAM=jeex -VERSION=${VERSION:-12.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-12.6.1} +DIRVERSION=12.6 +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -43,29 +64,34 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +cd $PRGNAM-$DIRVERSION 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; -make -make install destdir=$PKG +./configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux -mv $PKG/etc/jeex/magic.binary $PKG/etc/jeex/magic.binary.new -mv $PKG/etc/jeex/jeex.rc $PKG/etc/jeex/jeex.rc.new -mv $PKG/etc/jeex/magic.text $PKG/etc/jeex/magic.text.new +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 -cp -a ChangeLog COPYING README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog COPYING README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +mv $PKG/etc/jeex/jeex.rc $PKG/etc/jeex/jeex.rc.new + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/development/jeex/jeex.info b/development/jeex/jeex.info index e2ac40371131a..18f0cd5d68fa3 100644 --- a/development/jeex/jeex.info +++ b/development/jeex/jeex.info @@ -1,10 +1,10 @@ PRGNAM="jeex" -VERSION="12.0" +VERSION="12.6.1" HOMEPAGE="http://www.hds619.net/jeex.php" -DOWNLOAD="http://www.hds619.net/jeex-pkg/jeex-12.0.tar.bz2" -MD5SUM="a1065486c29d37cec1f5cffbff586980" +DOWNLOAD="http://www.hds619.net/data/jeex/jeex-pkg/jeex-12.6.1.tar.bz2" +MD5SUM="7a6035de61d04b0dabb4b31fc356ac52" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Luis Henrique" -EMAIL="lmello.009@gmail.com" +MAINTAINER="Ryan P.C. McQuen" +EMAIL="ryan.q@linux.com" |