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

⌈⌋ ⎇ branch:  cross package maker


Artifact [550a2ccbdd]

Artifact 550a2ccbdd4e9704714ffb8f3b8acc451f48ed74:

  • File test/dir-deb-with-prefix.test — part of check-in [8478fd8cdc] at 2011-09-06 01:30:39 on branch trunk — - add tests (user: jls@semicomplete.com size: 302)

#!/bin/sh

run() {
  mkdir -p $tmpdir/{a,b,c}/{d,e,f}
  touch $tmpdir/a/hello
  touch $tmpdir/a/d/hello
  touch $tmpdir/c/d/hello

  prefix=/opt/foo/bar

  fpm -s dir -t deb -n testing -a all --prefix $prefix -C $tmpdir 

  file=testing_1.0_all.deb
  dpkg -c $file | fex '{6:}' > $output

  rm $file
}