Summary

I'm working on it. So far I've added a folder called debian, and put the following files in it: changelog, compat, control, files, dirs, and rules.

I got it to work using php-cache-lite as a model.

Here's what I setup (in albertlash.dev-48:/usr/share/pbooks/debtest$):

debtest/
    debian/
    files
    nexista-0.2.1/
    package.xml

In the debian folder, I also added php-nexista, which contains a DEBIAN folder and essentially the fakeroot, with just usr/share/php/php-nexista at the moment. I still have to make the DEBIAN/control file and the md5sums file.

apt-get install debhelper dh-make-php

dh-make-php

Actually this was a lot easier than I thought:

wget http://pear.nexista.org/get/nexista-0.2.4.tgz
dh-make-pear nexista-0.2.4.tgz
cd php-nexista-0.2.4/
debian/rules build
sudo debian/rules binary

Mentors

To upload to mentors.debian.org, I need .dsc and .changes files, so I ran this:

dpkg-buildpackage -kKEY

the key is available on dev-101 by running:

gpg --list-keys