mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
misc/misctools: Updated for version 2.5.5
This commit is contained in:
parent
fd59855499
commit
51bd2b834a
4 changed files with 17 additions and 8 deletions
|
@ -3,4 +3,4 @@ but nevertheless useful. These include a binary dump program, a directory
|
|||
browser/selector, a file truncator, an ASCII-code lookup utility, a program
|
||||
for printing fortunes, a curses-based terminal lock program, and a few others.
|
||||
|
||||
Building this depends on 'cbase', available in the SBo Libraries repo.
|
||||
This requires cbase.
|
||||
|
|
|
@ -3,9 +3,10 @@
|
|||
# Slackware build script for MiscTools
|
||||
|
||||
# Written by Menno Duursma <druiloor@zonnet.nl>
|
||||
|
||||
# This program is free software. It comes without any warranty.
|
||||
# Granted WTFPLv2, as published by Sam Hocevar dec'04.
|
||||
# For details see http://sam.zoy.org/wtfpl/COPYING
|
||||
# Granted WTFPL, Version 2, as published by Sam Hocevar. See
|
||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
||||
PRGNAM=misctools
|
||||
VERSION=${VERSION:-2.5.5}
|
||||
|
@ -20,10 +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
|
||||
|
||||
set -e # Exit on most errors
|
||||
|
@ -41,9 +45,11 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
@ -60,13 +66,13 @@ done
|
|||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
cat $CWD/README > $PKG/usr/doc/$PRGNAM-$VERSION/README$TAG
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
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.5.5"
|
|||
HOMEPAGE="http://www.hyperrealm.com/main.php?s=misctools"
|
||||
DOWNLOAD="http://www.hyperrealm.com/misctools/misctools-2.5.5.tar.bz2"
|
||||
MD5SUM="b133836d9692feaf455481ac78d65364"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Menno Duursma"
|
||||
EMAIL="druiloor@zonnet.nl"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -4,15 +4,16 @@
|
|||
# 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------------------------------------------------------|
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
misctools: misctools (Miscellaneous UNIX Utilities)
|
||||
misctools:
|
||||
misctools: A collection of small but useful utilities.
|
||||
misctools:
|
||||
misctools:
|
||||
misctools: misctools was written by Mark Lindner
|
||||
misctools:
|
||||
misctools:
|
||||
misctools:
|
||||
misctools:
|
||||
misctools:
|
||||
misctools:
|
||||
|
|
Loading…
Reference in a new issue