diff options
Diffstat (limited to 'system/pcsc-perl/pcsc-perl.SlackBuild')
-rw-r--r-- | system/pcsc-perl/pcsc-perl.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/system/pcsc-perl/pcsc-perl.SlackBuild b/system/pcsc-perl/pcsc-perl.SlackBuild index 61c4583b7ca8..f65ba385d46f 100644 --- a/system/pcsc-perl/pcsc-perl.SlackBuild +++ b/system/pcsc-perl/pcsc-perl.SlackBuild @@ -23,11 +23,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220413 bkw: Modified by SlackBuilds.org, BUILD=2: +# - actually strip shared library. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pcsc-perl VERSION=${VERSION:-1.4.14} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -39,9 +42,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 @@ -77,9 +77,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 \ + -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 {} \+ perl Makefile.PL \ PREFIX=/usr \ @@ -91,14 +91,14 @@ make install INSTALLDIRS=vendor DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc # Strip this package's sole binary, whereever it might be -find $PKG -name "PCSC.so" -exec strip --strip-uneeded $PKG 2> /dev/null {} \; +find $PKG -name "PCSC.so" -exec strip $PKG {} \; # Compress the stuff in the sole man directory gzip -9 $PKG/usr/man/man3/* |