mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
graphics/lddot: Added (wrapper over ldd).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
667bbb4cb1
commit
1367dc02c5
4 changed files with 91 additions and 0 deletions
15
graphics/lddot/README
Normal file
15
graphics/lddot/README
Normal file
|
@ -0,0 +1,15 @@
|
|||
lddot (graphically display shared library dependencies)
|
||||
|
||||
lddot is a wrapper over ldd, which produces output in Graphviz format.
|
||||
|
||||
Although not strictly required for lddot to run, it's *highly* recommended
|
||||
to install graphviz and/or graph-easy. One of these will be required to
|
||||
convert lddot's output into a visible graph.
|
||||
|
||||
Examples:
|
||||
|
||||
# Replace "boxart" with "ascii" if your terminal doesn't support Unicode.
|
||||
lddot /bin/bash | graph-easy --as boxart
|
||||
|
||||
# This looks like the Death Star.
|
||||
lddot /usr/bin/xterm | circo -Tpng > graph.png
|
47
graphics/lddot/lddot.SlackBuild
Normal file
47
graphics/lddot/lddot.SlackBuild
Normal file
|
@ -0,0 +1,47 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for lddot
|
||||
|
||||
# Written by B. Watson (yalhcru@gmail.com)
|
||||
|
||||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=lddot
|
||||
VERSION=${VERSION:-0.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
ARCH=noarch
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
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 \
|
||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
mkdir -p $PKG/usr/bin
|
||||
install -m0755 $PRGNAM $PKG/usr/bin
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a doc/* $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
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
10
graphics/lddot/lddot.info
Normal file
10
graphics/lddot/lddot.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="lddot"
|
||||
VERSION="0.1"
|
||||
HOMEPAGE="http://jwilk.net/software/lddot"
|
||||
DOWNLOAD="https://github.com/jwilk/lddot/releases/download/0.1/lddot-0.1.tar.gz"
|
||||
MD5SUM="6738ceb8e2e09ceb0aacb93a40a35653"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
19
graphics/lddot/slack-desc
Normal file
19
graphics/lddot/slack-desc
Normal file
|
@ -0,0 +1,19 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' 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 ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
lddot: lddot (graphically display shared library dependencies)
|
||||
lddot:
|
||||
lddot: lddot is a wrapper over ldd, which produces output in Graphviz format.
|
||||
lddot:
|
||||
lddot: Example: lddot $(which bash) | graph-easy --as boxart
|
||||
lddot:
|
||||
lddot:
|
||||
lddot:
|
||||
lddot:
|
||||
lddot:
|
||||
lddot:
|
Loading…
Reference in a new issue