desktop/wmakerconf: Updated for version 2.12

This commit is contained in:
Cezary M. Kruk 2010-05-13 00:23:21 +02:00 committed by David Somero
parent edb57c20c0
commit da9cf54545
5 changed files with 23 additions and 16 deletions

View File

@ -1,4 +1,4 @@
WMakerConf (short for Window Maker Configurator) is a configuration
utility for the Window Maker window manager.
WMakerConf requires installed Window Maker.
WMakerConf requires WindowMaker to be installed (it's part of Slackware).

View File

@ -1,4 +1,3 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi

View File

@ -7,13 +7,13 @@
|-----handy-ruler------------------------------------------------------|
wmakerconf: WMakerConf (GTK+ based configuration tool for Window Maker)
wmakerconf:
wmakerconf:
wmakerconf: WMakerConf (short for Window Maker Configurator) is a configuration
wmakerconf: utility for the Window Maker window manager.
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:
wmakerconf:

View File

@ -18,10 +18,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
@ -31,7 +34,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xvf $CWD/$PRGNAM\_$VERSION.tar.gz
tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -44,10 +47,13 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--with-wmakeretcprefix=/etc/X11 \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debug
--disable-debug \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
@ -65,8 +71,9 @@ make install DESTDIR=$PKG
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL MANUAL NEWS NLS-TEAM1 README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog INSTALL MANUAL NEWS NLS-TEAM1 README TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
@ -74,5 +81,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}

View File

@ -3,6 +3,8 @@ VERSION="2.12"
HOMEPAGE="http://starplot.org/wmakerconf/"
DOWNLOAD="http://downloads.sourceforge.net/wmakerconf/wmakerconf_2.12.tar.gz"
MD5SUM="252114b5ee5fc5bec99477497ee045cc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Cezary M. Kruk"
EMAIL="c.kruk@bigfoot.com"
APPROVED="dsomero"