Skip to content

Instantly share code, notes, and snippets.

@ikatson
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ikatson/f84d3d1fe20c2152cd5b to your computer and use it in GitHub Desktop.
Save ikatson/f84d3d1fe20c2152cd5b to your computer and use it in GitHub Desktop.
uwsgi debian build test

Playing with debian packages

  1. Place the original archive into parent directory and rename, in my case to

uwsgi_2.0.5.orig.tar.gz


2. This one will update the changelog, it contains the version.
   ```bash
dch --create -v 2.0.5-1 --package uwsgi
  1. This is the actual build command.

debuild -us -uc

Maintainer: Igor Katson <igor.katson@gmail.com>
Section: misc
Priority: optional
Standards-Version: 3.9.2
Build-Depends: python-dev, libxml2-dev
Source: uwsgi
Package: uwsgi
Architecture: amd64
Depends: python
Description: uwsgi
#!/usr/bin/make -f
override_dh_auto_clean:
make clean
rm -f uwsgi uwsgibuild.*
override_dh_auto_test:
true
override_dh_auto_install:
install uwsgi -D debian/uwsgi/usr/bin/uwsgi
%:
dh $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment