1
0
mirror of https://github.com/jordansissel/fpm synced 2025-08-26 03:34:35 +02:00
fpm/templates/solaris.erb
Jordan Sissel ee9f00d0e8 - convert to using the (still undocumented) ERB "explicit line ending"
mode '-' so we can use '-%>' to say no newline.
2011-06-18 23:22:39 -07:00

16 lines
504 B
Plaintext

CLASSES=none
BASEDIR=/usr/local
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
PKG=<%= name %>
NAME=<%= name %>
ARCH=<%= architecture %>
VERSION=<%= version %><%= iteration && "-" + iteration.to_s %>
CATEGORY=application
<%# pkginfo(4) says DESC is max 256 characters -%>
DESC=<%= description.split("\n").first[0..255] or "no description given" %>
VENDOR=<%= maintainer %>
<%# Take maintainer of "Foo <bar@baz.com>" and use "bar@baz.com" -%>
EMAIL=<%= maintainer[/<.+>/].gsub(/[<>]/, "") %>