diff options
author | grey <ginolovesyou@gmail.com> | 2010-05-12 17:40:12 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:40:12 +0200 |
commit | 9732fa8c34afeaa0486af4a69b6cda9226172c40 (patch) | |
tree | e35ccfe14937088db8368e97f4c1fa3ac9823055 /libraries/GConf/GConf.SlackBuild | |
parent | 5784f758231fecf380aea814d62180a509bf35ab (diff) |
libraries/GConf: Updated for version 2.26.0
Diffstat (limited to 'libraries/GConf/GConf.SlackBuild')
-rw-r--r-- | libraries/GConf/GConf.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/libraries/GConf/GConf.SlackBuild b/libraries/GConf/GConf.SlackBuild index bd65c1ed46cd1..e59619cdf05e7 100644 --- a/libraries/GConf/GConf.SlackBuild +++ b/libraries/GConf/GConf.SlackBuild @@ -24,9 +24,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=GConf -VERSION=2.9.91 +VERSION=2.26.0 ARCH=${ARCH:-i486} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -36,10 +36,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 set -e @@ -48,7 +51,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -61,12 +64,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ + --mandir=/usr/man \ --disable-static \ --enable-debug=no \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -78,9 +82,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ABOUT-NLS AUTHORS COPYING ChangeLog NEWS README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -( cd $PKG/usr/doc/$PRGNAM-$VERSION - ln -s /usr/share/gtk-doc/html/gconf html -) +( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -s /usr/share/gtk-doc/html/gconf html ) find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; |