From 8deceed73e7af1bd1bf47e4410189709273e6486 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Wed, 15 Oct 2008 07:27:58 +0000 Subject: [PATCH] perl-Error for Solaris 2.6 --- perl-Error/build.sh | 80 ++++++++++++++++++++++++++++++++++++++++++ perl-Error/meta/depend | 1 + perl-Error/meta/pkgdef | 11 ++++++ 3 files changed, 92 insertions(+) create mode 100755 perl-Error/build.sh create mode 100644 perl-Error/meta/depend create mode 100644 perl-Error/meta/pkgdef diff --git a/perl-Error/build.sh b/perl-Error/build.sh new file mode 100755 index 0000000..382ebe2 --- /dev/null +++ b/perl-Error/build.sh @@ -0,0 +1,80 @@ +#!/bin/bash +# This is a buildpkg build.sh script +# Copyright (C) 2003-2008 Tom G. Christensen + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Written by Tom G. Christensen . + +# build.sh helper functions +. ${BUILDPKG_BASE}/scripts/build.sh.functions +# +########################################################### +# Check the following 4 variables before running the script +topdir=Error +version=0.17015 +pkgver=1 +source[0]=$topdir-$version.tar.gz +# If there are no patches, simply comment this +#patch[0]= + +# Source function library +. ${BUILDPKG_BASE}/scripts/buildpkg.functions + +# Global settings +maketest=1 +perlpkgname="$(echo $pkgdir | ${__tr} '-' '_')" +__configure="perl" +configure_args="Makefile.PL" + +reg prep +prep() +{ + generic_prep +} + +reg build +build() +{ + generic_build_perl +} + +reg check +check() +{ + generic_check +} + +reg install +install() +{ + generic_install_perl +} + +reg pack +pack() +{ + generic_pack +} + +reg distclean +distclean() +{ + clean distclean +} + +################################################### +# No need to look below here +################################################### +build_sh $* diff --git a/perl-Error/meta/depend b/perl-Error/meta/depend new file mode 100644 index 0000000..3f34f8f --- /dev/null +++ b/perl-Error/meta/depend @@ -0,0 +1 @@ +TGCplerr TGCperl auto diff --git a/perl-Error/meta/pkgdef b/perl-Error/meta/pkgdef new file mode 100644 index 0000000..480008f --- /dev/null +++ b/perl-Error/meta/pkgdef @@ -0,0 +1,11 @@ +[perl-Error] +pkgname="${pkgprefix}plerr" +name="perl-Error - Perl module Error" +pkgcat="application" +pkgvendor="http://search.cpan.org/~shlomif/Error-0.17015/" +pkgdesc="Error/exception handling in an OO-ish way" +pkgver="$pkgver" +files(-,root,bin) +$_libdir +$_mandir +