]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Document how to build from git and from a tarball release
authorGuillem Jover <guillem@hadrons.org>
Sun, 23 Jan 2022 20:07:45 +0000 (21:07 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sun, 23 Jan 2022 20:09:05 +0000 (21:09 +0100)
Closes: #8
README

diff --git a/README b/README
index 9b2bbdbe8a51a2d54f109b4b511551dfd2f186e0..4e4b43f2620482f93c39ea48ae1aa8af8bb71c82 100644 (file)
--- a/README
+++ b/README
@@ -37,3 +37,35 @@ The master repository can be browsed at:
 and cloned from:
 
   <https://anongit.freedesktop.org/git/libbsd>
+
+Building from git source
+------------------------
+
+To prepare the libbsd source tree from git before starting the build process
+some required software needs to be installed:
+
+  GNU autoconf >= 2.67
+  GNU automake >= 1.9
+  GNU libtool >= 2.0
+
+After installing the needed software, and running the following command on
+the git tree:
+
+  $ ./autogen
+
+the source should be roughly equivalent to the distributed tar source.
+
+Building from tar source
+------------------------
+
+The minimum software required to configure and build dpkg from a tarball is:
+
+  C89 compiler
+  make
+
+The following software might be required depending on the system:
+
+  libmd (whenever the libc does not provide the needed digest functions)
+
+The build process is done by running the usual «./configure; make». To
+see all available configuration options please run «./configure --help».