office/kbibtex: Updated for version 0.4.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Ar Tourter 2011-12-11 23:01:32 -02:00 committed by Niels Horn
parent 58dfe23b8e
commit 2b387e94e9
2 changed files with 7 additions and 9 deletions

View file

@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kbibtex PRGNAM=kbibtex
VERSION=${VERSION:-0.3} VERSION=${VERSION:-0.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -76,14 +76,13 @@ cd build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMANDIR=man \ -DMANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-Wno-dev \ -Wno-dev \
.. ..
make || make -j1 make VERBOSE=1
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. cd ..
@ -91,11 +90,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \; find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
README LICENSE \ README LICENSE TODO \
$PKG/usr/doc/$PRGNAM-$VERSION $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

View file

@ -1,8 +1,8 @@
PRGNAM="kbibtex" PRGNAM="kbibtex"
VERSION="0.3" VERSION="0.4"
HOMEPAGE="http://home.gna.org/kbibtex/" HOMEPAGE="http://home.gna.org/kbibtex/"
DOWNLOAD="http://download.gna.org/kbibtex/0.3/kbibtex-0.3.tar.bz2" DOWNLOAD="http://download.gna.org/kbibtex/0.4/kbibtex-0.4.tar.bz2"
MD5SUM="79fc7ea383014ea84ca5d9e71f24be5a" MD5SUM="4f8dd815bc2d5754812fdebb2a7d4abb"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Ar Tourter" MAINTAINER="Ar Tourter"