Cross package maker. DEB/RPM generation or conversion. Derived from jordansissel/fpm.

⌈⌋ ⎇ branch:  cross package maker


Check-in [d070a0d729]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make deb output filename compliant with debian policy.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d070a0d729ecc8fc776eb4b0dc52347d15039d74
User & Date: marc.fournier@camptocamp.com 2011-03-17 06:49:28
Context
2011-03-17
07:25
Merge branch 'debfilename' of https://github.com/mfournier/fpm into mfournier-debfilename check-in: e2e497e3fd user: jls@semicomplete.com tags: trunk
06:49
Make deb output filename compliant with debian policy. check-in: d070a0d729 user: marc.fournier@camptocamp.com tags: trunk
2011-03-08
01:39
- Add notes about my committment to fixing blocker bugs. check-in: f21326f4d0 user: jls@semicomplete.com tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to lib/fpm/target/deb.rb.

23
24
25
26
27
28
29








30
31
    # create debian-binary
    File.open("debian-binary", "w") { |f| f.puts "2.0" }

    # pack up the .deb
    system("ar -qc #{params[:output]} debian-binary control.tar.gz data.tar.gz")

  end # def build








end # class FPM::Deb








>
>
>
>
>
>
>
>


23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    # create debian-binary
    File.open("debian-binary", "w") { |f| f.puts "2.0" }

    # pack up the .deb
    system("ar -qc #{params[:output]} debian-binary control.tar.gz data.tar.gz")

  end # def build

  def default_output
    if iteration
      "#{name}_#{version}-#{iteration}_#{architecture}.#{type}"
    else
      "#{name}_#{version}_#{architecture}.#{type}"
    end
  end # def default_output
end # class FPM::Deb