diff options
author | Luis Henrique <lmello.009@gmail.com> | 2010-05-13 00:57:55 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:57:55 +0200 |
commit | bc2e299538c88be25cc4b589dc7113a985e4146a (patch) | |
tree | 814f679c162477ddfd697729798b12a6f6707f6b /development | |
parent | 50d2a8aa6ee50fd0b9c41ce3effda353ba6f68d1 (diff) | |
download | slackbuilds-bc2e299538c88be25cc4b589dc7113a985e4146a.tar.gz |
development/jeex: Added to 13.0 repository
Diffstat (limited to 'development')
-rw-r--r-- | development/jeex/README | 6 | ||||
-rw-r--r-- | development/jeex/jeex.SlackBuild | 63 | ||||
-rw-r--r-- | development/jeex/jeex.info | 10 | ||||
-rw-r--r-- | development/jeex/slack-desc | 19 |
4 files changed, 98 insertions, 0 deletions
diff --git a/development/jeex/README b/development/jeex/README new file mode 100644 index 0000000000..04c633491d --- /dev/null +++ b/development/jeex/README @@ -0,0 +1,6 @@ +Jeex is a simple hexadecimal editor which allows user to create, open +and edit files in hexadecimal, binary, octal and ASCII. The features +include insert, delete, copy-and-paste, search and many others. + +It also shows several information about the opened file, like file mode +bits, ownership, last access and modification timestamps. diff --git a/development/jeex/jeex.SlackBuild b/development/jeex/jeex.SlackBuild new file mode 100644 index 0000000000..75c0397286 --- /dev/null +++ b/development/jeex/jeex.SlackBuild @@ -0,0 +1,63 @@ +#!/bin/sh + +# Slackware build script for jeex + +# Written by Luis Henrique <lmello.009@gmail.com> + +PRGNAM=jeex +VERSION=${VERSION:-12.0} +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -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 {} \; + +make +make install destdir=$PKG + +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $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 + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/development/jeex/jeex.info b/development/jeex/jeex.info new file mode 100644 index 0000000000..b82795ce53 --- /dev/null +++ b/development/jeex/jeex.info @@ -0,0 +1,10 @@ +PRGNAM="jeex" +VERSION="12.0" +HOMEPAGE="http://www.hds619.net/jeex.php" +DOWNLOAD="http://www.hds619.net/jeex-pkg/jeex-12.0.tar.bz2" +DOWNLOAD_x86_64="" +MD5SUM="a1065486c29d37cec1f5cffbff586980" +MD5SUM_x86_64="" +MAINTAINER="Luis Henrique" +EMAIL="lmello.009@gmail.com" +APPROVED="Erik Hanson" diff --git a/development/jeex/slack-desc b/development/jeex/slack-desc new file mode 100644 index 0000000000..55e4b106d3 --- /dev/null +++ b/development/jeex/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler-------------------------------------------------------| +jeex: jeex (GTK+ Hex Editor) +jeex: +jeex: Jeex is a simple hexadecimal editor which allows user to create, open +jeex: and edit files in hexadecimal, binary, octal and ASCII. The features +jeex: include insert, delete, copy-and-paste, search and many others. +jeex: +jeex: It also shows several information about the opened file, like file mode +jeex: bits, ownership, last access and modification timestamps. +jeex: +jeex: Homepage: http://www.hds619.net/jeex.php +jeex: |