summaryrefslogtreecommitdiffstats
path: root/libraries/xlt
diff options
context:
space:
mode:
author Vincent Batts2010-05-13 00:33:55 +0200
committer Erik Hanson2010-05-13 00:33:55 +0200
commit700c804ccb631cab9b5ed06d8aa4b93e8aa60312 (patch)
tree0bea7894983e0077ac78f9d8b19f606b369a15d2 /libraries/xlt
parent69d794fb03ac0003b3f3a96dac31d1e2305d27ca (diff)
downloadslackbuilds-700c804ccb631cab9b5ed06d8aa4b93e8aa60312.tar.gz
libraries/xlt: Updated for version 11.1.11
Diffstat (limited to 'libraries/xlt')
-rw-r--r--libraries/xlt/slack-desc10
-rw-r--r--libraries/xlt/xlt.SlackBuild15
-rw-r--r--libraries/xlt/xlt.info2
3 files changed, 24 insertions, 3 deletions
diff --git a/libraries/xlt/slack-desc b/libraries/xlt/slack-desc
index e93a10c305..9456f86fe1 100644
--- a/libraries/xlt/slack-desc
+++ b/libraries/xlt/slack-desc
@@ -1,3 +1,11 @@
+# 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------------------------------------------------------|
xlt: xlt ( the libXlt library)
xlt:
xlt: The Xlt widget set is a group of larger and smaller utility
@@ -7,3 +15,5 @@ xlt: convenience functions (and macros) to help with certain
xlt: tasks while programming with the Motif API.
xlt:
xlt:
+xlt:
+xlt:
diff --git a/libraries/xlt/xlt.SlackBuild b/libraries/xlt/xlt.SlackBuild
index 4359e81de5..0cadf3a8a1 100644
--- a/libraries/xlt/xlt.SlackBuild
+++ b/libraries/xlt/xlt.SlackBuild
@@ -12,6 +12,7 @@ BIG_PRGNAM=Xlt
VERSION=11.1.11
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
+
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -20,8 +21,13 @@ 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
rm -rf $PKG
@@ -41,6 +47,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man || exit 1
@@ -49,8 +56,10 @@ make || exit 1
make install DESTDIR=$PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -69,4 +78,4 @@ 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.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/xlt/xlt.info b/libraries/xlt/xlt.info
index 7fc7705d32..e619a0aa72 100644
--- a/libraries/xlt/xlt.info
+++ b/libraries/xlt/xlt.info
@@ -2,7 +2,9 @@ PRGNAM="xlt"
VERSION="11.1.11"
HOMEPAGE="http://sourceforge.net/projects/xlt"
DOWNLOAD="http://downloads.sourceforge.net/xlt/Xlt-11.1.11.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="37a109c0bf2e0780bf79184be8273c92"
+MD5SUM_x86_64=""
MAINTAINER="Vincent Batts"
EMAIL="vbatts@batts.mine.nu"
APPROVED="Erik Hanson"