Changes between Initial Version and Version 1 of npl/perl/version


Ignore:
Timestamp:
05/25/09 18:06:13 (16 years ago)
Author:
rick
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • npl/perl/version

    v1 v1  
     1Dit pakketje is een goedvoorbeeld van newpackage gebruik voor een perl module:
     2
     3{{{
     4psy npl # ./newpackage perl version http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/version-0.76.tar.gz
     5Using perl/buildmods.SlackBuild as slackbuild..
     6--2009-02-21 13:33:23--  http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/version-0.76.tar.gz
     7Resolving search.cpan.org... 84.45.68.23
     8Connecting to search.cpan.org|84.45.68.23|:80... connected.
     9HTTP request sent, awaiting response... 302 Found
     10Location: http://archive.cs.uu.nl/mirror/CPAN/authors/id/J/JP/JPEACOCK/version-0.76.tar.gz [following]
     11--2009-02-21 13:33:23--  http://archive.cs.uu.nl/mirror/CPAN/authors/id/J/JP/JPEACOCK/version-0.76.tar.gz
     12Resolving archive.cs.uu.nl... 131.211.84.186
     13Connecting to archive.cs.uu.nl|131.211.84.186|:80... connected.
     14HTTP request sent, awaiting response... 200 OK
     15Length: 54896 (54K) [application/x-gzip]
     16Saving to: `version-0.76.tar.gz'
     17
     18100%[====================================================================================>] 54,896      --.-K/s   in 0.09s
     19
     202009-02-21 13:33:23 (585 KB/s) - `version-0.76.tar.gz' saved [54896/54896]
     21
     22/home/psy/syn3/npl
     23Rebuild required: ./version.SlackBuild has changed!
     24REBUILDING /home/psy/syn3/npl/perl/version/version.SlackBuild:
     25Buildroot up-to-date check: (nopkgcheck to skip)......................................................................................................DONE
     26Buildroot /tmp/buildroot0._home_psy_syn3_builder repareren/syncen...OK
     27Build-dependency perl installeren: /home/psy/syn3/npl/.tmp/D/perl-5.8.7-i486-2056.tgz
     28Nieuwe packages ldconfiggen...
     29etc-update doen
     30stderr is not a tty - where are you?
     31/home/psy/syn3/npl/perl/version word gekopieerd naar werkdirectory /tmp/buildroot0._home_psy_syn3_builder/tmp/build
     32*** Chroot naar /tmp/buildroot0._home_psy_syn3_builder en starten van version.SlackBuild in /tmp/build:
     33/dev/pts/33: No such file or directory
     341 /tmp/build > pwd
     358 /tmp/build > CWD=/tmp/build
     361 /tmp/build > pwd
     379 /tmp/build > PKGROOT=/tmp/build/pkgtmp
     381 /tmp/build > echo version-0.76.tar.gz
     391 /tmp/build > sed s/.tar.gz//
     4012 /tmp/build > TARDIR=version-0.76
     411 /tmp/build > echo version-0.76
     421 /tmp/build > sed 's/.*-//'
     4313 /tmp/build > VER=0.76
     441 /tmp/build > echo version-0.76
     451 /tmp/build > sed 's/-[^-]*$//'
     461 /tmp/build > sed s/-/_/
     4714 /tmp/build > NAME=perlmod_version
     4816 /tmp/build > rm -r /tmp/build/pkgtmp
     4917 /tmp/build > mkdir -p /tmp/build/pkgtmp
     5020 /tmp/build > cd /tmp/build
     5121 /tmp/build > export PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     5221 /tmp/build > PERL_INSTALL_ROOT=/tmp/build/pkgtmp
     5322 /tmp/build > tar -xzf version-0.76.tar.gz
     5423 /tmp/build > cd version-0.76
     5524 /tmp/build/version-0.76 > perl Makefile.PL
     56Testing if you have a C compiler
     57Checking if your kit is complete...
     58Looks good
     59Writing Makefile for version::vxs
     60Writing Makefile for version
     6125 /tmp/build/version-0.76 > make
     62cp lib/version.pm blib/lib/version.pm
     63cp lib/version.pod blib/lib/version.pod
     64make[1]: Entering directory `/tmp/build/version-0.76/vutil'
     65cp lib/version/vxs.pm ../blib/lib/version/vxs.pm
     66cc -c   -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686   -DVERSION=\"0.76\" -DXS_VERSION=\"0.76\" -fPIC "-I/usr/lib/perl5/5.8.7/i486-linux/CORE"   vutil.c
     67/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap ../lib/version/typemap  vxs.xs > vxs.xsc && mv vxs.xsc vxs.c
     68cc -c   -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mcpu=i686   -DVERSION=\"0.76\" -DXS_VERSION=\"0.76\" -fPIC "-I/usr/lib/perl5/5.8.7/i486-linux/CORE"   vxs.c
     69Running Mkbootstrap for version::vxs ()
     70chmod 644 vxs.bs
     71rm -f ../blib/arch/auto/version/vxs/vxs.so
     72LD_RUN_PATH="" cc  -shared -L/usr/local/lib vutil.o vxs.o  -o ../blib/arch/auto/version/vxs/vxs.so
     73chmod 755 ../blib/arch/auto/version/vxs/vxs.so
     74cp vxs.bs ../blib/arch/auto/version/vxs/vxs.bs
     75chmod 644 ../blib/arch/auto/version/vxs/vxs.bs
     76make[1]: Leaving directory `/tmp/build/version-0.76/vutil'
     77Manifying blib/man3/version.3
     7826 /tmp/build/version-0.76 > make test
     79make[1]: Entering directory `/tmp/build/version-0.76/vutil'
     80make[1]: Leaving directory `/tmp/build/version-0.76/vutil'
     81PERL_DL_NONLAZY=1 /usr/bin/perl5.8.7 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
     82t/01base.......ok
     83t/02derived....ok
     84t/03require....ok
     85        4/129 skipped: version require'd instead of use'd, cannot test qv
     86All tests successful, 4 subtests skipped.
     87Files=3, Tests=396,  0 wallclock secs ( 0.19 cusr +  0.03 csys =  0.22 CPU)
     88make[1]: Entering directory `/tmp/build/version-0.76/vutil'
     89No tests defined for version::vxs extension.
     90make[1]: Leaving directory `/tmp/build/version-0.76/vutil'
     9127 /tmp/build/version-0.76 > make install
     92make[1]: Entering directory `/tmp/build/version-0.76/vutil'
     93make[1]: Leaving directory `/tmp/build/version-0.76/vutil'
     94Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/i486-linux/auto/version/vxs/vxs.bs
     95Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/i486-linux/auto/version/vxs/vxs.so
     96Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
     97Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/i486-linux/version.pod
     98Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/i486-linux/version.pm
     99Installing /tmp/build/pkgtmp/usr/lib/perl5/site_perl/5.8.7/i486-linux/version/vxs.pm
     100Installing /tmp/build/pkgtmp/usr/man/man3/version.3
     101Writing /usr/lib/perl5/site_perl/5.8.7/i486-linux/auto/version/.packlist
     102Appending installation info to /usr/lib/perl5/5.8.7/i486-linux/perllocal.pod
     10329 /tmp/build/version-0.76 > cd /tmp/build/pkgtmp
     10430 /tmp/build/pkgtmp > makepkg -l y -c n /tmp/build/perlmod_version.pkg
     105tar-1.13: perlmod_version.pkg.tar is the archive; not dumped
     10631 /tmp/build/pkgtmp > echo 0.76
     10732 /tmp/build/pkgtmp > arch
     108*** Build gelukt.
     109* Packages terugmoven naar originele directory..
     110/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_version.arch ...
     111/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_version.version ...
     112/tmp/buildroot0._home_psy_syn3_builder/tmp/build/perlmod_version.pkg ...
     113
     114* Klaar ja!
     115Updating md5 for /home/psy/syn3/npl/perl/version/version.SlackBuild...
     116Updating dependency information for /home/psy/syn3/npl/perl/version/version.SlackBuild...
     117All rebuilds completed.
     118A         perl/version
     119A         perl/version/version.SlackBuild
     120A  (bin)  perl/version/version-0.76.tar.gz
     121A         perl/version/perlmod_version.arch
     122A         perl/version/perlmod_version.version
     123A  (bin)  perl/version/perlmod_version.pkg
     124A         perl/version/version.md5
     125Automatic Syn-3 package-creation completed succesfully.
     126}}}