Adapted to Debian 8 Jessie.
- Clone Aerospike (latest version is 3.7.3):
git clone --recursive --branch $VERSION https://github.com/aerospike/aerospike-server.git
- Create origin tarball:
tar czf aerospike-server_$VERSION.orig.tar.gz aerospike-server
Note the .git
subdirectory must be tar'ed as well.
-
Copy
debian
directory to the clonedaerospike-server
dir. -
Create package with sources:
dpkg-source -b aerospike-server
- Build the binary package from the sources:
pbuilder aerospike-server_$VERSION-$RELEASE.dsc
- Add build artifacts to the APT repository:
reprepro include $SUITE_NAME aerospike-server_$VERSION-$RELEASE_$ARCH.changes