|
|
|
@ -25,7 +25,7 @@ |
|
|
|
# Adapted by Fellype do Nascimento - fellype(at)gmail.com |
|
|
|
|
|
|
|
PRGNAM=extra-cmake-modules |
|
|
|
VERSION=${VERSION:-5.26.0} |
|
|
|
VERSION=${VERSION:-5.31.0} |
|
|
|
BUILD=${BUILD:-1} |
|
|
|
TAG=${TAG:-_SBo} |
|
|
|
|
|
|
|
@ -84,16 +84,15 @@ cd - |
|
|
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |
|
|
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |
|
|
|
|
|
|
|
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 |
|
|
|
cp COPYING-CMAKE-SCRIPTS $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cp -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION |
|
|
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |
|
|
|
|
|
|
|
mkdir -p $PKG/install |
|
|
|
cat $CWD/slack-desc > $PKG/install/slack-desc |
|
|
|
|
|
|
|
if [ -e /usr/bin/requiredbuilder ]; then |
|
|
|
requiredbuilder -v -y -s $CWD $PKG |
|
|
|
fi |
|
|
|
|
|
|
|
cd $PKG |
|
|
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |