Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (37 sloc) 1.502 kB
# -*- coding: utf-8 -*-
import os
import shutil
import sys
import build.dpkg
arch = ARGUMENTS.get('arch', 'amd64')
DEBNAME = "neoagent"
DEBVERSION = "0.5.2"
SUBVERSION = "1"
DEBMAINT = "Tatsuhiko Kubo [cubicdaiya@gmail.com]"
DEBARCH = arch
DEBDEPENDS = "libev-dev, libjson0-dev, libgoogle-perftools-dev, python-argparse"
DEBDESC = "A Yet Another Memcached Protocol Proxy Server"
DEBCONTROLFILE = os.path.join(DEBNAME, "DEBIAN/control")
DEBCOPYRIGHTFILE = os.path.join(DEBNAME, "DEBIAN/copyright")
DEBCHANGELOGFILE = os.path.join(DEBNAME, "DEBIAN/changelog")
DEBFILES = [
# TODO: generate following tupples
("usr/bin/neoagent", "neoagent/neoagent"),
("usr/bin/neostat", "misc/neostat/neostat"),
("usr/share/doc/neoagent/copyright", "debian/copyright"),
("usr/share/doc/neoagent/changelog", "debian/changelog"),
("usr/share/man/man1/neoagent.1", "doc/build/man/neoagent.1"),
("usr/share/man/man1/neostat.1", "doc/build/man/neostat.1"),
]
build.dpkg.make_package(Environment(),
DEBNAME,
DEBVERSION,
SUBVERSION,
DEBMAINT,
DEBARCH,
DEBDEPENDS,
DEBDESC,
DEBCONTROLFILE,
DEBCOPYRIGHTFILE,
DEBCHANGELOGFILE,
DEBFILES)
Jump to Line
Something went wrong with that request. Please try again.