-
Notifications
You must be signed in to change notification settings - Fork 1
Packaging and shipping
jaybuff edited this page Mar 11, 2011
·
2 revisions
TODO this probably needs cleaning up a bit
mkdir ~/packages && cd ~/packages
curl -L https://github.com/jaybuff/joot/tarball/master -o joot_0.0.1.orig.tar.gz
tar xvfz joot_0.0.1.orig.tar.gz
mv <new dir> joot-0.0.1
cd joot-0.0.1
./Build.PL
./Build deb
cd .. && mkdir repo && cd repo
put this in conf/distributions
Origin: Jay Buffington
Label: joot
Suite: stable
Codename: lenny
Architectures: i386 amd64 source
Components: main non-free contrib
Then run these commands:
# yes, this says i386, but that's just the build platform and can be ignored
reprepro -Vb . include lenny ~/packages/joot_0.0.1-1_i386.changes
rsync -avz ~/repo/ getjoot.org:~/getjoot.org/apt/lenny
cd ~/packages
rm joot_0.0.1-1*
cd joot-0.0.1
edit debian/packages and fix the dependences (qemu-kvm => qemu-utils). Then run
./Build deb
reprepro -Vb ~/repo include squeeze ~/packages/joot_0.0.1-1_i386.changes
reprepro -Vb ~/repo include sid ~/packages/joot_0.0.1-1_i386.changes