Skip to content
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.

Commit

Permalink
Updated INSTALL file
Browse files Browse the repository at this point in the history
  • Loading branch information
codebrainz committed Dec 12, 2010
1 parent a0e728a commit c80a3d2
Showing 1 changed file with 4 additions and 64 deletions.
68 changes: 4 additions & 64 deletions INSTALL
@@ -1,65 +1,5 @@
FTPLIB INSTALLATION INSTRUCTIONS
=================================
This package should make FTPLib build and install in the usual way:

The compiling and installation is using a simple Makefile and should be
fairly comfortable for anyone who's used make before. The most basic usage
would be:

make && sudo make install

You can use the PREFIX variable to specify where you want to install/remove
the library and associated files from (ie. /usr, /usr/local, /opt, etc). The
default prefix is /usr.

--------------------------------------------------------------------------------

To compile the project:

make

or

make PREFIX=/usr # whichever prefix to use

--------------------------------------------------------------------------------

To install the project:

make install # as root

or

make install PREFIX=/usr # possibly as root depending on PREFIX

--------------------------------------------------------------------------------

To uninstall the project:

make uninstall # as root

or

make uninstall PREFIX=/usr # possibly as root depending on PREFIX

--------------------------------------------------------------------------------

The Makefile will install the following files:

PREFIX/lib/libftp.a
The static library

PREFIX/lib/libftp.so.*
The shared library and symlinks

PREFIX/lib/pkgconfig/ftplib.pc
The pkg-config file

PREFIX/include/ftplib.h
The header file

PREFIX/share/doc/ftplib/*
The HTML documentation and other documentation (README, etc)

PREFIX/bin/qftp
The command-line client/test program

$ ./configure # use --help to see options
$ make
# make install # as root

0 comments on commit c80a3d2

Please sign in to comment.