head 1.12; access; symbols UUID_1_6_2:1.11 UUID_1_6_1:1.11 UUID_1_6_0:1.11 UUID_1_5_1:1.10 UUID_1_5_0:1.10 UUID_1_4_2:1.10 UUID_1_4_1:1.10 UUID_1_4_0:1.10 UUID_1_3_2:1.9 UUID_1_3_1:1.9 UUID_1_3_0:1.7 UUID_1_2_1:1.5 UUID_1_2_0:1.5 UUID_1_1_2:1.5 UUID_1_1_1:1.4 UUID_1_1_0:1.3; locks; strict; comment @# @; 1.12 date 2008.07.05.12.58.22; author rse; state dead; branches; next 1.11; commitid XLXN7vUmABwPcC9t; 1.11 date 2007.01.01.18.14.57; author rse; state Exp; branches; next 1.10; commitid jOXiIO8S8v7xFP0s; 1.10 date 2006.01.13.06.44.33; author rse; state Exp; branches; next 1.9; commitid hYfQc9JIMh4bcphr; 1.9 date 2005.09.02.18.47.53; author rse; state Exp; branches; next 1.8; 1.8 date 2005.09.02.17.22.05; author rse; state Exp; branches; next 1.7; 1.7 date 2005.08.31.10.34.09; author rse; state Exp; branches; next 1.6; 1.6 date 2005.08.31.09.59.45; author rse; state Exp; branches; next 1.5; 1.5 date 2004.12.31.19.20.39; author rse; state Exp; branches; next 1.4; 1.4 date 2004.11.18.15.58.54; author rse; state Exp; branches; next 1.3; 1.3 date 2004.11.03.18.30.49; author rse; state Exp; branches; next 1.2; 1.2 date 2004.11.03.18.01.50; author rse; state Exp; branches; next 1.1; 1.1 date 2004.11.03.14.52.09; author rse; state Exp; branches; next ; desc @@ 1.12 log @remove OSSP uuid from CVS -- it is now versioned controlled in a Monotone repository @ text @## ## OSSP uuid - Universally Unique Identifier ## Copyright (c) 2004-2007 Ralf S. Engelschall ## Copyright (c) 2004-2007 The OSSP Project ## ## This file is part of OSSP uuid, a library for the generation ## of UUIDs which can found at http://www.ossp.org/pkg/lib/uuid/ ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that ## the above copyright notice and this permission notice appear in all ## copies. ## ## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED ## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF ## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR ## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT ## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF ## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, ## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT ## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ## SUCH DAMAGE. ## ## Makefile.PL: Perl MakeMaker build source procedure ## require 5.008; use Config; use ExtUtils::MakeMaker; # determine source directory my ($srcdir) = map { my $d = $_; $d =~ s/\/libuuid\.la$//; $d } grep { -f $_ } ("../libuuid.la", glob("../*/libuuid.la")) or die "no source directory found (where libuuid.la is located)"; # determine extra build options my $compat = 0; @@ARGV = grep { $_ =~ m/^COMPAT=(\d+)$/i ? ($compat = $1, 0) : 1 } @@ARGV; # generate Makefile WriteMakefile( NAME => 'OSSP::uuid', VERSION_FROM => 'uuid.pm', ABSTRACT_FROM => 'uuid.pod', PREREQ_PM => {}, LIBS => [ "-L$srcdir/.libs -L$srcdir -luuid" ], DEFINE => '', INC => "-I. -I$srcdir", PM => { 'uuid.pm' => '$(INST_LIBDIR)/uuid.pm', 'uuid.pod' => '$(INST_LIBDIR)/uuid.pod', ($compat ? ('uuid_compat.pm' => '$(INST_LIBDIR)/../Data/UUID.pm') : ()), ($compat ? ('uuid_compat.pod' => '$(INST_LIBDIR)/../Data/UUID.pod') : ()), }, MAN3PODS => { 'uuid.pod' => '$(INST_MAN3DIR)/OSSP::uuid.3', ($compat ? ('uuid_compat.pod' => '$(INST_MAN3DIR)/Data::UUID.3') : ()), }, TYPEMAPS => [ 'uuid.tm' ], test => { TESTS => 'uuid.ts' . ($compat ? ' uuid_compat.ts' : '') }, NO_META => 1, # cruel hack to workaround the conflict between OSSP uuid's # uuid_create() function and one from FreeBSD's libc (( "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd[56]\./ and $Config{'ld'} =~ m/cc$/ and -f "/usr/include/uuid.h") ? ( LDDLFLAGS => $Config{'lddlflags'} . ' -Wl,-Bsymbolic') : ()) ); @ 1.11 log @Adjust copyright messages for new year 2007. @ text @@ 1.10 log @Adjust copyright messages for new year 2006. @ text @d3 2 a4 2 ## Copyright (c) 2004-2006 Ralf S. Engelschall ## Copyright (c) 2004-2006 The OSSP Project @ 1.9 log @support that the C API is built in an arbitrary subdir @ text @d3 2 a4 2 ## Copyright (c) 2004-2005 Ralf S. Engelschall ## Copyright (c) 2004-2005 The OSSP Project @ 1.8 log @small cleanups to the source tree only @ text @d35 6 d44 1 d50 1 a50 1 LIBS => [ '-L../.libs -luuid' ], d52 1 a52 1 INC => '-I. -I..', @ 1.7 log @fix manual page installation @ text @d30 2 a31 1 use 5.008; @ 1.6 log @Added optional Data::UUID backward compatibility Perl API which can be enabled with the build-time option --with-perl-compat. Submitted by: Piotr Roszatycki @ text @d48 3 a50 2 ($compat ? ('uuid_compat.pod' => '$(INST_LIBDIR)/../Data/UUID.pod') : ()), }, @ 1.5 log @Adjust copyright messages for new year 2005. @ text @d34 3 d45 5 a49 2 PM => { 'uuid.pm' => '$(INST_LIBDIR)/uuid.pm', 'uuid.pod' => '$(INST_LIBDIR)/uuid.pod' }, d51 1 a51 1 test => { TESTS => 'uuid.ts' }, @ 1.4 log @Apply the FreeBSD libc uuid_create() related workaround in the Perl bindings also under FreeBSD 6.0-CURRENT. @ text @d3 2 a4 2 ## Copyright (c) 2004 Ralf S. Engelschall ## Copyright (c) 2004 The OSSP Project @ 1.3 log @I see no reason why MakeMaker has to know this here @ text @d49 1 a49 1 (( "$Config{'osname'}$Config{'osvers'}" =~ m/^freebsd5\./ @ 1.2 log @do not generate and insist on the META.yml stuff @ text @a37 1 AUTHOR => 'Ralf S. Engelschall ', @ 1.1 log @Add Perl language binding providing both a C-style and OO-style API. @ text @d45 1 a45 1 TYPEMAPS => [ 'uuid.tm' ], d47 1 @