diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-10 07:07:14 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-10-11 06:19:35 +0700 |
commit | 1d77a1624a3402cec9e335a46fff002039a5d746 (patch) | |
tree | a26b66447f46e6941bcfc56684ddf60a1b382dd4 /perl/perl-Params-Classify/perl-Params-Classify.SlackBuild | |
parent | f4b8a5fcdb95c8d5ff23ff3aa0f05b08931bf57b (diff) | |
download | slackbuilds-1d77a1624a3402cec9e335a46fff002039a5d746.tar.gz |
perl/perl-Params-Classify: Updated for version 0.015.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-Params-Classify/perl-Params-Classify.SlackBuild')
-rw-r--r-- | perl/perl-Params-Classify/perl-Params-Classify.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild index 8b78a0b384..b13d7ebba6 100644 --- a/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild +++ b/perl/perl-Params-Classify/perl-Params-Classify.SlackBuild @@ -26,7 +26,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=perl-Params-Classify -VERSION=${VERSION:-0.013} +VERSION=${VERSION:-0.015} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -34,7 +34,7 @@ SRCNAM=Params-Classify if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -45,8 +45,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -74,14 +74,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -perl Makefile.PL \ - PREFIX=/usr \ - INSTALLDIRS=vendor \ - INSTALLVENDORMAN1DIR=/usr/man/man1 \ - INSTALLVENDORMAN3DIR=/usr/man/man3 -make -make test -make install DESTDIR=$PKG +perl Build.PL \ + --installdirs vendor \ + --config installvendorman1dir=/usr/man/man1 \ + --config installvendorman3dir=/usr/man/man3 +./Build +./Build test +./Build install \ + --destdir $PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |