mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
libraries/argtable: Get rid of .la files.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d1db0bacf0
commit
d027d911d7
3 changed files with 10 additions and 11 deletions
|
@ -1,3 +1,5 @@
|
|||
argtable (ANSI C library for parsing command line arguments)
|
||||
|
||||
Argtable is an ANSI C library for parsing GNU style command line
|
||||
arguments with a minimum of fuss. It enables the programmer to
|
||||
define their program's argument syntax directly in the source code
|
||||
|
|
|
@ -22,7 +22,8 @@
|
|||
|
||||
# Modified by the SlackBuilds.org Project
|
||||
|
||||
# modified again 20140210 bkw:
|
||||
# 20211121 bkw: BUILD=2, get rid of .la files for -current.
|
||||
# 20140210 bkw:
|
||||
# - took over maintenance
|
||||
# - update for v2.13
|
||||
# - derive SRCVER from VERSION
|
||||
|
@ -42,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
PRGNAM=argtable
|
||||
VERSION=${VERSION:-2.13}
|
||||
SRCVER=${VERSION/./-}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -54,9 +55,6 @@ if [ -z "$ARCH" ]; then
|
|||
esac
|
||||
fi
|
||||
|
||||
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
|
||||
# the name of the created package would be, and then exit. This information
|
||||
# could be useful to other scripts.
|
||||
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
|
||||
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
|
||||
exit 0
|
||||
|
@ -89,11 +87,8 @@ rm -rf $PRGNAM$SRCVER
|
|||
tar xvf $CWD/$PRGNAM$SRCVER.tar.gz
|
||||
cd $PRGNAM$SRCVER
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
|
||||
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
|
||||
|
||||
# man and html pages misuse autoconf macros
|
||||
patch -p1 < $CWD/doc_paths.diff
|
||||
|
@ -115,6 +110,8 @@ CXXFLAGS="$SLKCFLAGS" \
|
|||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
rm -f $PKG/usr/lib*/*.la
|
||||
|
||||
# upstream installs 2 copies of the man page, use symlink instead
|
||||
MAN3=$PKG/usr/man/man3
|
||||
rm -f $MAN3/$PRGNAM.3
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
PRGNAM="argtable"
|
||||
VERSION="2.13"
|
||||
HOMEPAGE="http://argtable.sourceforge.net/"
|
||||
DOWNLOAD="http://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
|
||||
DOWNLOAD="https://prdownloads.sourceforge.net/argtable/argtable2-13.tar.gz"
|
||||
MD5SUM="156773989d0d6406cea36526d3926668"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
|
|
Loading…
Reference in a new issue