diff options
Diffstat (limited to 'development/jeex/jeex.SlackBuild')
-rw-r--r-- | development/jeex/jeex.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild index 757fac00f0..0cc1e697c1 100644 --- a/development/jeex/jeex.SlackBuild +++ b/development/jeex/jeex.SlackBuild @@ -6,15 +6,13 @@ PRGNAM=jeex VERSION=${VERSION:-12.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -56,6 +54,10 @@ find . \ make make install destdir=$PKG +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 + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -66,6 +68,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |