void-packages/templates/perl-Storable/template

32 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template build file for 'perl-Storable'.
pkgname=perl-Storable
version=2.18
wrksrc="Storable-$version"
distfiles="${CPAN_SITE}/Storable/Storable-$version.tar.gz"
build_style=perl_module
short_desc="Perl extension module for persistent data storage"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=99539bb999e391277ca3ef5985b9b7a7c504dfcc6bce38351ba22fba37fb2222
long_desc="
The Storable extension brings persistency to your data.
You may recursively store to disk any data structure, no matter
how complex and circular it is, provided it contains only SCALAR,
ARRAY, HASH (possibly tied) and references (possibly blessed) to
those items.
At a later stage, or in another program, you may retrieve data from
the stored file and recreate the same hiearchy in memory. If you
had blessed references, the retrieved references are blessed into
the same package, so you must make sure you have access to the same
perl class as the one used to create the relevant objects.
There is also a dclone() routine which performs an optimized
mirroring of any data structure, preserving its topology.
Objects (blessed references) may also redefine the way storage and
retrieval is performed, and/or what deep cloning should do on those
objects."
Add_dependency full perl