diff options
Diffstat (limited to 'graphics/opengtl/opengtl.SlackBuild')
-rw-r--r-- | graphics/opengtl/opengtl.SlackBuild | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/opengtl/opengtl.SlackBuild b/graphics/opengtl/opengtl.SlackBuild index ead9ead956..8decae0e3d 100644 --- a/graphics/opengtl/opengtl.SlackBuild +++ b/graphics/opengtl/opengtl.SlackBuild @@ -22,17 +22,17 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -SRCNAM=OpenGTL -VERSION=0.9.12 +PRGNAM=opengtl +VERSION=0.9.14 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: +SRCNAM=OpenGTL + 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 @@ -42,8 +42,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -PRGNAM=$(echo $SRCNAM | tr [:upper:] [:lower:]) - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -89,10 +87,9 @@ cd - find $PKG | xargs 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 COPYING $PKG/usr/doc/$PRGNAM-$VERSION/ -mv $PKG/usr/share/doc/OpenGTL/ $PKG/usr/doc/$PRGNAM-$VERSION/ -rm -rf $PKG/usr/share/doc +mv $PKG/usr/share/doc $PKG/usr +mv $PKG/usr/doc/OpenGTL $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |