summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:53:36 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:53:36 +0200
commit97f06d588f2c38111f008ac108a0f95d7d7e64c7 (patch)
treed41da3d6f2468e97d4268d6a286c7c829fd3d924 /development
parent61a9d18952c33d96b4eb05e4e78151077870d686 (diff)
downloadslackbuilds-97f06d588f2c38111f008ac108a0f95d7d7e64c7.tar.gz
development/perl-extutils-cbuilder: Added to 12.1 repository
Diffstat (limited to 'development')
-rw-r--r--development/perl-extutils-cbuilder/README7
-rw-r--r--development/perl-extutils-cbuilder/perl-extutils-cbuilder.SlackBuild85
-rw-r--r--development/perl-extutils-cbuilder/perl-extutils-cbuilder.info8
-rw-r--r--development/perl-extutils-cbuilder/slack-desc19
4 files changed, 119 insertions, 0 deletions
diff --git a/development/perl-extutils-cbuilder/README b/development/perl-extutils-cbuilder/README
new file mode 100644
index 0000000000..f65ee5ce8f
--- /dev/null
+++ b/development/perl-extutils-cbuilder/README
@@ -0,0 +1,7 @@
+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! \ No newline at end of file
diff --git a/development/perl-extutils-cbuilder/perl-extutils-cbuilder.SlackBuild b/development/perl-extutils-cbuilder/perl-extutils-cbuilder.SlackBuild
new file mode 100644
index 0000000000..3bee82bd72
--- /dev/null
+++ b/development/perl-extutils-cbuilder/perl-extutils-cbuilder.SlackBuild
@@ -0,0 +1,85 @@
+#!/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
diff --git a/development/perl-extutils-cbuilder/perl-extutils-cbuilder.info b/development/perl-extutils-cbuilder/perl-extutils-cbuilder.info
new file mode 100644
index 0000000000..20b280e8cc
--- /dev/null
+++ b/development/perl-extutils-cbuilder/perl-extutils-cbuilder.info
@@ -0,0 +1,8 @@
+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" \ No newline at end of file
diff --git a/development/perl-extutils-cbuilder/slack-desc b/development/perl-extutils-cbuilder/slack-desc
new file mode 100644
index 0000000000..7c46c24622
--- /dev/null
+++ b/development/perl-extutils-cbuilder/slack-desc
@@ -0,0 +1,19 @@
+# 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: