From 5d92195a46763c56bb597bc148fdae719111df74 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 9 Nov 2013 15:38:07 +0700 Subject: perl/perl-lirc-client: Updated for version 2.00. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- perl/perl-lirc-client/perl-lirc-client.SlackBuild | 26 +++++++++++++---------- perl/perl-lirc-client/perl-lirc-client.info | 10 ++++----- 2 files changed, 20 insertions(+), 16 deletions(-) (limited to 'perl') diff --git a/perl/perl-lirc-client/perl-lirc-client.SlackBuild b/perl/perl-lirc-client/perl-lirc-client.SlackBuild index 3916d46fa21f..484cbf714be4 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 2ae12e4c2a37..c44faaeea070 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" -- cgit v1.2.3