85cc462e1d
* Moved helpers, common and triggers dirs into xbps-src, where they belong. * Renamed the templates dir to srcpkgs, it was so redundant before. * Make it possible to add subpkgs with no restriction in names, for example udev now has a subpkgs called "libgudev". Previously subpkgs were named "${sourcepkg}-${pkgname}". * xbps-src: changed to look for template files in current directory. That means that most arguments from the targets have been removed. * xbps-src: added a reinstall target, to remove + install. * xbps-src: do not overwrite binpkgs by default, skip them. And more that I forgot because it's a mega-commit that I've been working for some days already... --HG-- extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
# 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
|