MT#6485 add no_ngcp script to remove NGCP dependences

Help external users to produce Debian packages without
any NGCP dependence.
pull/11/head
Victor Seva 12 years ago
parent eb9dbd87cc
commit c7e3911778

@ -57,10 +57,12 @@ On a Debian System
------------------
On a Debian system, everything can be built and packaged into Debian packages
by executing `dpkg-buildpackage` (which can be found in the `dpkg-dev` package) in the main directory.
by executing `dpkg-buildpackage` (which can be found in the `dpkg-dev` package) in the main directory.
This script will issue an error and stop if any of the dependency packages are
not installed.
Before that, run `./debian/flavors/no_ngcp` in order to remove any NGCP dependence.
This will produce a number of `.deb` files, which can then be installed using the
`dpkg -i` command.

@ -0,0 +1,6 @@
#!/bin/bash
# remove ngcp-system-tools Pre-Depends
sed -i -e '/^Pre-Depends: ngcp-system-tools\s*$/d' debian/control
exit 0
Loading…
Cancel
Save