Creating a .deb with Apache Ant and without dpkg
Asked Answered
C

1

2

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

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

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.

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

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

Cultural answered 7/4, 2011 at 5:8 Comment(0)
D
1

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

Dalrymple answered 5/7, 2011 at 13:18 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.