Browse Source

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
commit
c7e3911778
2 changed files with 9 additions and 1 deletions
  1. +3
    -1
      README.md
  2. +6
    -0
      debian/flavors/no_ngcp

+ 3
- 1
README.md View File

@ -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.


+ 6
- 0
debian/flavors/no_ngcp View File

@ -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