FunWithElectronics.com
          - Collection of Information for those with Electronics as a Hobby
Up one level (Linux command line)

Create Ubuntu Package





Needs devscripts and dh-make.

Name .tar.gz file packagename_version.orig.tar.gz.

Unpack and enter directory. Run:

dh_make
debuild
apt-get source packagename
apt-get build-dep packagename
dch --local foo
debuild -us -uc
http://abhinavsingh.com/blog/2009/08/getting-started-with-autotools-gnu-build-system-on-debian/

From git repository using cmake

mkdir ../packagename-version
git archive master | tar -x -C ../packagename-version
cd ../packagename-version
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
dh_make --createorig
(edit necessary files below debian)
debuild



Add a comment:

Fill in number
Name:
Title:
Text:
 


Privacy | Contact