diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-09 15:38:07 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-11 10:53:32 -0600 |
commit | 5d92195a46763c56bb597bc148fdae719111df74 (patch) | |
tree | fcd630872db40c3b8c21f1592aab83007897001e /perl/perl-lirc-client/perl-lirc-client.SlackBuild | |
parent | 44268e67df5f78d2a5b66dcc8119d061590c8d0f (diff) | |
download | slackbuilds-5d92195a46763c56bb597bc148fdae719111df74.tar.gz |
perl/perl-lirc-client: Updated for version 2.00.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-lirc-client/perl-lirc-client.SlackBuild')
-rw-r--r-- | perl/perl-lirc-client/perl-lirc-client.SlackBuild | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild index 3916d46fa2..484cbf714b 100644 --- a/perl/perl-lirc-client/perl-lirc-client.SlackBuild +++ b/perl/perl-lirc-client/perl-lirc-client.SlackBuild @@ -6,16 +6,14 @@ PRGNAM=perl-lirc-client SRCNAM=Lirc-Client -VERSION=${VERSION:-1.51} +VERSION=${VERSION:-2.00} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -48,15 +46,21 @@ rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . -find . \ +find -L . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make install DESTDIR=$PKG + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +perl Build.PL \ + prefix=/usr \ + installdirs=vendor \ + destdir=$PKG +./Build +./Build test +./Build install \ + --install_path bindoc=/usr/man/man1 \ + --install_path libdoc=/usr/man/man3 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true @@ -77,7 +81,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -depth -type d -empty -exec rmdir {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |