[Bps-public-commit] r9868 - bpsbuilder/BPB/docs

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Dec 10 12:57:33 EST 2007


Author: sunnavy
Date: Mon Dec 10 12:57:33 2007
New Revision: 9868

Added:
   bpsbuilder/BPB/docs/
   bpsbuilder/BPB/docs/tutorial

Log:
initial tutorial for bpb

Added: bpsbuilder/BPB/docs/tutorial
==============================================================================
--- (empty file)
+++ bpsbuilder/BPB/docs/tutorial	Mon Dec 10 12:57:33 2007
@@ -0,0 +1,37 @@
+e.g we want to build Jifty::DBI
+
+1. config our bpb
+in ~/.bpb/config.yml
+
+jdbi:
+    backend:
+        module: SVK
+        repository: '//local/jdbi'
+    source:
+        directory: '/tmp'
+        download_directory: '/tmp/download'
+        min_perl_version: 5.008008
+    build:
+        build_directory: '/tmp/build'
+        install_directory: '/tmp/install'
+        perl: '/usr/bin/perl'
+        skip_test: 0
+
+2. do something to make bpb happy
+
+first cd to our BPB's directory.
+
+$ perl -Ilib BPB bin/bpb source --name jdbi Jifty::DBI
+
+if you've Jifty::DBI already, just replace Jifty::DBI to the local directory of Jifty::DBI
+
+3. import
+
+$ perl -Ilib BPB bin/bpb import --name jdbi /tmp/Jifty-DBI( the whole name )
+
+4. build
+
+$ perl -Ilib BPB bin/bpb build --name jdbi
+this will install JDBI to '/tmp/install', which is specified in your
+config.yml
+



More information about the Bps-public-commit mailing list