mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
development/perl-extutils-cbuilder: Removed from 12.2 repository
This commit is contained in:
parent
23d248c6da
commit
f51bd2fee2
4 changed files with 0 additions and 119 deletions
|
@ -1,7 +0,0 @@
|
|||
This perl-module can build the C portions of Perl modules by
|
||||
invoking the appropriate compilers and linkers in a cross-
|
||||
platform manner. It was motivated by the `Module::Build'
|
||||
project, but may be useful for other purposes as well.
|
||||
However, it is *not* intended as a general cross-platform
|
||||
interface to all your C building needs. That would have been
|
||||
a much more ambitious goal!
|
|
@ -1,85 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for perl-extutils-cbuilder
|
||||
|
||||
# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
# permitted provided that the following conditions are met:
|
||||
#
|
||||
# 1. Redistributions of this script must retain the above copyright
|
||||
# notice, this list of conditions and the following disclaimer.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=ExtUtils-CBuilder
|
||||
VERSION=0.24
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
PKGNAM=perl-$(echo $PRGNAM | tr [:upper:] [:lower:])
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find . \
|
||||
\( -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
|
||||
|
||||
make
|
||||
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
#Move man-pages to appropriate place
|
||||
mv $PKG/usr/share/man $PKG/usr/
|
||||
|
||||
# Remove perlocal.pod and .packlist from $PKG
|
||||
( for i in perllocal.pod .packlist; do
|
||||
find $PKG -name "$i" -exec rm -rf {} \;
|
||||
done
|
||||
)
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -type d -empty -exec rm -rf {} \;
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
|
||||
cp -a Changes INSTALL README \
|
||||
$PKG/usr/doc/$PKGNAM-$VERSION
|
||||
cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
|
@ -1,8 +0,0 @@
|
|||
PRGNAM="perl-extutils-cbuilder"
|
||||
VERSION="0.24"
|
||||
HOMEPAGE="http://search.cpan.org/dist/ExtUtils-CBuilder/"
|
||||
DOWNLOAD="http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/ExtUtils-CBuilder-0.24.tar.gz"
|
||||
MD5SUM="fddebe90cec0f577db39ead35a75d93b"
|
||||
MAINTAINER="ppr:kut"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="David Somero"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler---------------------------------------|
|
||||
perl-extutils-cbuilder: perl-extutils-cbuilder (Build C parts of Perl modules)
|
||||
perl-extutils-cbuilder:
|
||||
perl-extutils-cbuilder: This module can build the C portions of Perl modules
|
||||
perl-extutils-cbuilder: by invoking the appropriate compilers and linkers in a
|
||||
perl-extutils-cbuilder: cross-platform manner. It was motivated by the
|
||||
perl-extutils-cbuilder: `Module::Build' project, but may be useful for other
|
||||
perl-extutils-cbuilder: purposes as well. However, it is *not* intended as a
|
||||
perl-extutils-cbuilder: general cross-platform interface to all your C
|
||||
perl-extutils-cbuilder: building needs.
|
||||
perl-extutils-cbuilder:
|
||||
perl-extutils-cbuilder:
|
Loading…
Reference in a new issue