#---------------------------------------------------------------------------- # build_libcap2.txt - how to build the libcap2 binaries # and create folder and packages # # Creation : 2010-10-18 schlotze # 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:// libcap2 # libcap2-2.0.9.tar.bz2 ### Extract archive into a temporary location tar -xjvf libcap2-2.0.9.tar.bz2 cd libcap2-2.0.9 ### Build ./configure --prefix=/usr make make install ### Strip files/binaries strip -s *** ### Copy binaries cp *** /trunk/lib/libcap2/_bin_2.0.9/*** ### Copy header files cp *** /trunk/lib/libcap2/-dev_bin_2.0.9/*** ### Add the copied files to the repository and commit them svn add /trunk/lib/libcap2/_bin_2.0.9/... svn ci /trunk/lib/libcap2/_bin_2.0.9 -m "Added binaries" svn add /trunk/lib/libcap2/-dev_bin_2.0.9/... svn ci /trunk/lib/libcap2/-dev_bin_2.0.9 -m "Added header files" ### Create the file lists using the menu entry "4 - (Re)Create file list for a folder on a package"