创建使用Apache Ant和没有dpkg的一个.deb [英] Creating a .deb with Apache Ant and without dpkg

查看:231
本文介绍了创建使用Apache Ant和没有dpkg的一个.deb的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建创建的.deb安装文件的构建文件。

I'm trying to create a buildfile for creating .deb installation files.

到目前为止,一切都很好。我的目标是避免dpkg的,从而生成可以从任何plattform进行。

So far, so fine. My goal is to avoid dpkg, so that the build can be done from any plattform.

现在,我创建的所有工件(control.tar.gz,data.tar.gz,Debian的二进制),我需要一个Ant任务在一个deb文件包这些文件。

Now that I created all the artifacts (control.tar.gz, data.tar.gz, debian-binary) I need an Ant-Task to package these Files in a deb-File.

一个deb文件只是一个氩(L)-archive,但我无法弄清楚如何创建使用Ant这样的存档。

A deb File is just an Ar(l)-Archive, but I couldn't figure out how to create such an Archive with Ant.

我刚刚发现了一些ArFileSet,所以我觉得有可能,但我不知道如何以及在何处使用该arFileSet。

I just found some "ArFileSet", so I think there is a possibility, but I don't know how and where to use this arFileSet.

推荐答案

您可以使用的第三方的Ant任务之一,为建设.deb软件包:

You could use one of the thirdparty Ant tasks for building .deb packages:

  • ant-deb-task
  • JDeb

这篇关于创建使用Apache Ant和没有dpkg的一个.deb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆