mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/wmakerconf: Updated for version 2.12
This commit is contained in:
parent
edb57c20c0
commit
da9cf54545
5 changed files with 23 additions and 16 deletions
|
@ -1,4 +1,4 @@
|
||||||
WMakerConf (short for Window Maker Configurator) is a configuration
|
WMakerConf (short for Window Maker Configurator) is a configuration
|
||||||
utility for the Window Maker window manager.
|
utility for the Window Maker window manager.
|
||||||
|
|
||||||
WMakerConf requires installed Window Maker.
|
WMakerConf requires WindowMaker to be installed (it's part of Slackware).
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
if [ -x /usr/bin/update-desktop-database ]; then
|
if [ -x /usr/bin/update-desktop-database ]; then
|
||||||
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
wmakerconf: WMakerConf (GTK+ based configuration tool for Window Maker)
|
wmakerconf: WMakerConf (GTK+ based configuration tool for Window Maker)
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf: WMakerConf (short for Window Maker Configurator) is a configuration
|
wmakerconf: WMakerConf (short for Window Maker Configurator) is a configuration
|
||||||
wmakerconf: utility for the Window Maker window manager.
|
wmakerconf: utility for the Window Maker window manager.
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
wmakerconf:
|
wmakerconf:
|
||||||
|
|
|
@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -31,7 +34,7 @@ mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar -xvf $CWD/$PRGNAM\_$VERSION.tar.gz
|
tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
|
@ -44,10 +47,13 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--with-wmakeretcprefix=/etc/X11 \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--disable-debug
|
--disable-debug \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make
|
make
|
||||||
make install DESTDIR=$PKG
|
make install DESTDIR=$PKG
|
||||||
|
@ -65,8 +71,9 @@ make install DESTDIR=$PKG
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL MANUAL NEWS NLS-TEAM1 README TODO \
|
cp -a \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
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
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
@ -74,5 +81,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
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}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@ VERSION="2.12"
|
||||||
HOMEPAGE="http://starplot.org/wmakerconf/"
|
HOMEPAGE="http://starplot.org/wmakerconf/"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/wmakerconf/wmakerconf_2.12.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/wmakerconf/wmakerconf_2.12.tar.gz"
|
||||||
MD5SUM="252114b5ee5fc5bec99477497ee045cc"
|
MD5SUM="252114b5ee5fc5bec99477497ee045cc"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Cezary M. Kruk"
|
MAINTAINER="Cezary M. Kruk"
|
||||||
EMAIL="c.kruk@bigfoot.com"
|
EMAIL="c.kruk@bigfoot.com"
|
||||||
APPROVED="dsomero"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue