Giter Club home page Giter Club logo

epm's Introduction

epm

Erlang package maker is a simple tool like https://github.com/jordansissel/fpm that will build a deb or rpm package from your directory.

You may use it to build packages for Ubuntu, Debian or Centos from your Mac without installing any specific software like apt or librpm.

It claims to be a drop-in replacement for fpm, but without ruby runtime requirement.

Usage

I use it in the following way:

  1. create tmproot
  2. copy all required and compiled erlang files there
  3. unpack there archive with precompiled linux binaries
  4. cd tmproot and run following commands:
EPM="-s dir --url http://flussonic.com/ --description 'Videostreaming server' \
    -m 'Max Lapshin <[email protected]>' \
    --vendor 'Flussonic, LLC' --license EULA --post-install ../deploy/debian/postinst \
    --pre-uninstall ../deploy/debian/prerm --post-uninstall ../deploy/debian/postrm \
    --config-files /etc/flussonic/flussonic.conf"
../epm.erl -f -t deb -n flussonic -v 4.1.14 $DEBIAN -a amd64 \
           --category net etc/init.d etc/flussonic opt
../epm.erl -f -t rpm -n flussonic -v 4.1.14 $DEBIAN -a amd64 \
           --gpg [email protected] --category Server/Video etc/init.d etc/flussonic opt

License

Do-whatever-you-want-to-MIT, but please, make a pull request if you fix any bug in it.

epm's People

Contributors

maxlapshin avatar siplabs avatar odobenus avatar djnym avatar tnt-dev avatar sharpfun avatar

Watchers

James Cloos avatar Valerii Vasylkov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.