jayurbain / mitlm

Automatically exported from code.google.com/p/mitlm
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Autotools and Debian packaging #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
 I've created configuration files for autotools and Debian packages. Are you interested?

1) Here are quick instructions to patch the revision 41 of the code (you have 
to download the attached patch file). Please note that I needed to apply a few 
fixes to the source in order to be able to compile mitlm on Debian squeeze:
svn checkout -r 41 http://mitlm.googlecode.com/svn/trunk/ mitlm-read-only
cd mitlm-read-only
patch -p0 < ../autotools_debian_compilation.diff
chmod 755 autogen.sh debian/rules
touch NEWS AUTHORS ChangeLog debian/info
svn add configure.ac autogen.sh Makefile.am NEWS AUTHORS ChangeLog debian
svn remove Makefile
svn move LICENSE COPYING

2) Once you have installed autoconf, automake and libtool you can use this 
command line to generate configure script and running it
./autogen.sh --prefix=$(pwd)/usr

3) After this you can run "make dist-gzip" to create mitlm-0.4.tar.gz archive 
for distribution (users of this package can simply run ./configure && make && 
make install), you can also run "dpkg-buildpackage -rfakeroot" to create Debian 
packages (it will create 4 packages, one for the binaries and three for the 
library) for your architecture.

4) To change the package version, just edit the configure.ac file, change it 
and re-run step 2 and 3.

Bests.

Original issue reported on code.google.com by giuliop...@gmail.com on 16 Nov 2010 at 9:11

Attachments:

GoogleCodeExporter commented 8 years ago
The changes were applied in revisions 42-45.
The issue can be closed.

Original comment by giuliop...@gmail.com on 17 Nov 2010 at 10:41

GoogleCodeExporter commented 8 years ago

Original comment by bojune...@gmail.com on 18 Nov 2010 at 12:37