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 | |
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>
-rw-r--r-- | perl/perl-lirc-client/perl-lirc-client.SlackBuild | 26 | ||||
-rw-r--r-- | perl/perl-lirc-client/perl-lirc-client.info | 10 |
2 files changed, 20 insertions, 16 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 diff --git a/perl/perl-lirc-client/perl-lirc-client.info b/perl/perl-lirc-client/perl-lirc-client.info index 2ae12e4c2a..c44faaeea0 100644 --- a/perl/perl-lirc-client/perl-lirc-client.info +++ b/perl/perl-lirc-client/perl-lirc-client.info @@ -1,10 +1,10 @@ PRGNAM="perl-lirc-client" -VERSION="1.51" -HOMEPAGE="http://search.cpan.org/~mgrimes/Lirc-Client-1.51/" -DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MG/MGRIMES/Lirc-Client-1.51.tar.gz" -MD5SUM="b5b6421d9f4fc773716be4b5aff49d05" +VERSION="2.00" +HOMEPAGE="http://search.cpan.org/~mgrimes/Lirc-Client-2.00/" +DOWNLOAD="http://search.cpan.org/CPAN/authors/id/M/MG/MGRIMES/Lirc-Client-2.00.tar.gz" +MD5SUM="58c8be6a2f8dfdccd2bb89f735253d7e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="perl-class-accessor perl-file-path-expand" +REQUIRES="perl-Moo perl-class-accessor perl-file-path-expand" MAINTAINER="Pablo Santamaria" EMAIL="pablosantamaria@gmail.com" |