# ---------------------------------------------------------------------------- # build_libbacula.txt - how to build the libbacula binaries # and create folder and packages # # Creation : 2011-12-05 starwarsfan # Last update: $Id$ # # !!! This is not a script but an step-by-step howto !!! # ---------------------------------------------------------------------------- exit 1 ### Download the source code from the internet, e.g. # http:// libbacula # libbacula-5.2.2.tar.bz2 ### Extract archive into a temporary location tar -xjvf libbacula-5.2.2.tar.bz2 cd libbacula-5.2.2 ### Build ./configure --prefix=/usr make make install ### Strip files/binaries strip -s *** ### Copy binaries cp *** /trunk/lib/libbacula/_bin_5.2.2/*** ### Copy header files cp *** /trunk/lib/libbacula/-dev_bin_5.2.2/*** ### Add the copied files to the repository and commit them svn add /trunk/lib/libbacula/_bin_5.2.2/... svn ci /trunk/lib/libbacula/_bin_5.2.2 -m "Added binaries" svn add /trunk/lib/libbacula/-dev_bin_5.2.2/... svn ci /trunk/lib/libbacula/-dev_bin_5.2.2 -m "Added header files" ### Create the file lists using the menu entry "4 - (Re)Create file list for a folder on a package"