diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-01-05 18:17:48 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2014-01-05 18:17:48 +0000 |
commit | a3cef81be46dbc0bdcaa6634ab9ff6f9bdea796f (patch) | |
tree | 755577dc81a9148f733a0b61ffc5004ceb412f54 /buildtools/debian/README | |
parent | 35fa4e53a480e2048a0e0c8bf719dd72cd13b579 (diff) | |
download | netpbm-mirror-a3cef81be46dbc0bdcaa6634ab9ff6f9bdea796f.tar.gz netpbm-mirror-a3cef81be46dbc0bdcaa6634ab9ff6f9bdea796f.tar.xz netpbm-mirror-a3cef81be46dbc0bdcaa6634ab9ff6f9bdea796f.zip |
Add tools for creating Debian packages
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2103 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'buildtools/debian/README')
-rw-r--r-- | buildtools/debian/README | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/buildtools/debian/README b/buildtools/debian/README new file mode 100644 index 00000000..18ba488f --- /dev/null +++ b/buildtools/debian/README @@ -0,0 +1,36 @@ +Files in this directory are for creating a Debian package (.deb file), +which one can use to install Netpbm on a Debian system (or a system running +a derivative of Debian, such as Ubuntu or Mint). + +You can of course install on one of these systems by running 'installnetpbm', +or otherwise inserting all the files in the proper place in your system file +tree, but having a Debian package allows you to manage those files using +Debian's normal package management. The package management system will know +where the Netpbm files came from, and you can upgrade or remove Netpbm easily. +The package management system will also be aware of prerequisites of Netpbm +and ensure that you don't have Debian's own inferior version of Netpbm +installed (which would cause conflicts). + +The package we create is named 'netpbm-sf' (where the "sf" is from +"SourceForge"), to be distinct from the package named "netpbm" which is part +of Debian. + +To install Netpbm as a Debian package: + + 1) Follow the regular instructions to build and package Netpbm + (configure, make, make package). + + 2) $ BUILDTOOLS=netpbm-src/buildtools + + (netpbm-src is a Netpbm source tree). + + 3) $ $BUILDTOOLS/debian/mkdeb -buildtools=$BUILDTOOLS + + (This defaults to getting Netpbm from /tmp/netpbm, which is also where + 'make package' defaults to putting it). + + 4) $ dpkg --install netpbm-sfXXXX.deb + + (netpbm-sfXXXX.deb is the file created by 'makedeb', in the current + directory). + |