mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
perl/perl-pango: New maintainer + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
119ba65060
commit
1825c0e3de
4 changed files with 19 additions and 17 deletions
|
@ -1 +1,3 @@
|
|||
perl-pango (Layout and render international text)
|
||||
|
||||
Perl bindings to the Pango library.
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for perl-pango
|
||||
|
||||
#
|
||||
# Slackware build script for perl-pango.
|
||||
#
|
||||
# Copyright 2010, 2012 Binh Nguyen <binhvng@gmail.com>
|
||||
# Copyright 2014-2017 Glenn Becker <glenn.becker@gmail.com>
|
||||
# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
# Updated for version 1.226 by Glenn Becker <glenn.becker@gmail.com>
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
|
@ -25,14 +27,12 @@
|
|||
|
||||
PRGNAM=perl-pango
|
||||
VERSION=${VERSION:-1.227}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCNAM=Pango
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -43,8 +43,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"
|
||||
|
@ -57,7 +57,9 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -eu
|
||||
SRCNAM="Pango"
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -86,8 +88,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
|||
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
|
||||
# Remove perllocal.pod and other special files that don't need to be installed,
|
||||
# as they will overwrite what's already on the system
|
||||
find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true
|
||||
|
||||
# Remove empty directories
|
||||
|
|
|
@ -6,5 +6,5 @@ MD5SUM="cc5d7ca7780adcc5cee7cc41f2fc0440"
|
|||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="perl-cairo perl-glib"
|
||||
MAINTAINER="Glenn Becker"
|
||||
EMAIL="glenn.becker@gmail.com"
|
||||
MAINTAINER="Edinaldo P. Silva"
|
||||
EMAIL="edps.mundognu@gmail.com"
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
perl-pango: perl-pango (perl module)
|
||||
perl-pango: perl-pango (Layout and render international text)
|
||||
perl-pango:
|
||||
perl-pango: Perl bindings to the Pango library.
|
||||
perl-pango:
|
||||
perl-pango: Homepage: http://search.cpan.org/dist/Pango/
|
||||
perl-pango: Homepage: https://metacpan.org/pod/Pango
|
||||
perl-pango:
|
||||
perl-pango:
|
||||
perl-pango:
|
||||
|
|
Loading…
Reference in a new issue