diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-23 00:07:17 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-24 10:44:33 -0400 |
commit | 81e01750bae48a5d9bbe73b59bb1138787d6bd0c (patch) | |
tree | 16a8c3eca58a5d4ad3a932b609a1c8a5220ddbbd /libraries/levmar | |
parent | 5dd9edd77c1526a4243e1b2231294922518adc8b (diff) |
libraries/levmar: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/levmar')
-rw-r--r-- | libraries/levmar/Makefile.SBo | 2 | ||||
-rw-r--r-- | libraries/levmar/levmar.SlackBuild | 16 |
2 files changed, 8 insertions, 10 deletions
diff --git a/libraries/levmar/Makefile.SBo b/libraries/levmar/Makefile.SBo index 7474a817f7293..85835749674a9 100644 --- a/libraries/levmar/Makefile.SBo +++ b/libraries/levmar/Makefile.SBo @@ -41,6 +41,6 @@ depend: install: $(ODIR)/liblevmar.so.$(MAJ).$(MIN) install -Dpm 644 levmar.h $(DESTDIR)/usr/include/levmar/levmar.h - install -Dpm 755 build/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) + install -s -Dpm 755 build/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) ln -rs $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ) ln -rs $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so.$(MAJ).$(MIN) $(DESTDIR)/usr/lib$(LIB_SUFFIX)/liblevmar.so diff --git a/libraries/levmar/levmar.SlackBuild b/libraries/levmar/levmar.SlackBuild index 19ab4cecbb82b..ffbcb16e2f225 100644 --- a/libraries/levmar/levmar.SlackBuild +++ b/libraries/levmar/levmar.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220423 bkw: Modified by SlackBuilds.org, BUILD=3: +# - add SlackBuild to doc dir. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=levmar VERSION=${VERSION:-2.6} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +41,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 @@ -75,9 +75,9 @@ cd $PRGNAM-$VERSION 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 \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ mkdir -p build make -f $CWD/Makefile.SBo \ @@ -86,11 +86,9 @@ make -f $CWD/Makefile.SBo install \ DESTDIR=$PKG \ LIB_SUFFIX="$LIBDIRSUFFIX" -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a LICENSE README.txt $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 |