[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

как правильно собирать source packages ?



Приветствую!

Недавно в этом листе Alexander Kotelnikov <sacha@debian.org> сказал что 
пакеты с исходными тестами нужно собирать используя debuild или 
dpkg-buildpackage. Но в FAQ (/usr/share/doc/debian/FAQ/ch-pkg_basics.html) 
написано:

6.14 How do I build binary packages from a source package?
You will need all of foo_*.dsc, foo_*.tar.gz and foo_*.diff.gz to compile the
source (note: there is no .diff.gz for a Debian native package).

Once you have them, if you have the dpkg-dev package installed,
the following command:

     dpkg-source -x foo_version-revision.dsc will extract the package into a
directory called foo-version.

If you want just to compile the package, you may cd into
foo-version directory and issue the command

     debian/rules build to build the program, then

     debian/rules binary as root, to build the package, and then

     dpkg -i ../foo_version-revision_arch.deb to install the newly-built
package.


Как идеологически правильнее собирать такие пакеты?

-- 
Best regards,
  Denis Dzyubenko <shad@mail.kubtelecom.ru>



Reply to: