diff options
Diffstat (limited to 'network/lagrange/lagrange.SlackBuild')
-rw-r--r-- | network/lagrange/lagrange.SlackBuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/network/lagrange/lagrange.SlackBuild b/network/lagrange/lagrange.SlackBuild index 7b8549dbd3b3..0b154462c853 100644 --- a/network/lagrange/lagrange.SlackBuild +++ b/network/lagrange/lagrange.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lagrange -VERSION=${VERSION:-1.14.1} +VERSION=${VERSION:-1.15.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,6 +39,9 @@ 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 @@ -94,6 +97,7 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la 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 +# Move man page to the right place mkdir -p $PKG/usr/man cp -a $PKG/usr/share/man/* $PKG/usr/man/ rm -Rf $PKG/usr/share @@ -120,6 +124,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |