Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5e5fa6132afc57b0caca3c7883e36012dfeb6000

commit 5e5fa6132afc57b0caca3c7883e36012dfeb6000
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Dec 9 20:58:14 2009 +0000

perl-poe-component-pubsub-0.05-1-i686
*new package

diff --git a/source/devel-extra/perl-poe-component-pubsub/FrugalBuild 
b/source/devel-extra/perl-poe-component-pubsub/FrugalBuild
new file mode 100644
index 0000000..e8a52fa
--- /dev/null
+++ b/source/devel-extra/perl-poe-component-pubsub/FrugalBuild
@@ -0,0 +1,38 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: bouleetbil <bouleet...@frogdev.info>
+
+_F_perl_name=POE-Component-PubSub
+_F_perl_author=N/NP/NPEREZ
+pkgver=0.05
+pkgrel=1
+pkgdesc="A generic publish/subscribe POE"
+Finclude perl
+depends=('perl' 'perl-poe')
+pkgname=perl-poe-component-pubsub
+archs=('i686')
+sha1sums=('ef2d449b7447e28d19a945d66c2cfa0c773f9b5a')
+
+build() {
+       Fcd
+       #don't provide Makefile.pl :/
+       perl Build.PL || Fdie
+       ./Build || Fdie
+       ./Build install destdir=$Fdestdir || Fdie
+
+       if [ -d $Fdestdir/usr/lib/perl5/*.*.* ]; then
+                Fmv '/usr/lib/perl5/*.*.*' /usr/lib/perl5/current
+        fi
+        if [ -d $Fdestdir/usr/lib/perl5 ]; then
+                find $Fdestdir/usr/lib/perl5 -name perllocal.pod -exec rm {} \;
+                find $Fdestdir/usr/lib/perl5 -name .packlist -exec rm {} \;
+        fi
+        if [ -e $Fdestdir/usr/lib/perl5/site_perl/*.*.* ]; then
+                Fmv '/usr/lib/perl5/site_perl/*.*.*' 
/usr/lib/perl5/site_perl/current
+        fi
+        if [ -d $Fdestdir/usr/lib/perl5/site_perl ]; then
+                find $Fdestdir/usr/lib/perl5/site_perl -name perllocal.pod 
-exec rm {} \;
+                find $Fdestdir/usr/lib/perl5/site_perl -name .packlist -exec 
rm {} \;
+        fi
+
+
+}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to