]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
perl-BDB: New package.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 19:26:40 +0000 (21:26 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 22 Apr 2012 19:26:40 +0000 (21:26 +0200)
perl-BDB/perl-BDB.nm [new file with mode: 0644]

diff --git a/perl-BDB/perl-BDB.nm b/perl-BDB/perl-BDB.nm
new file mode 100644 (file)
index 0000000..508e914
--- /dev/null
@@ -0,0 +1,52 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-BDB
+version    = 1.9
+release    = 1
+thisapp    = BDB-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/BDB/
+license    = GPL+ or Artistic
+summary    = Asynchronous Berkeley DB access.
+
+description
+       Asynchronous Berkeley DB access.
+end
+
+source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+
+build
+       requires
+               perl(common::sense)
+               perl(ExtUtils::MakeMaker)
+               perl(ExtUtils::ParseXS)
+               libdb-devel
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+
+       make_install_targets = pure_install DESTDIR=%{BUILDROOT}
+end
+
+packages
+       package %{name}
+               requires
+                       perl
+               end
+       end
+
+       package %{name}-debuginfo
+               template DEBUGINFO
+       end
+end