1
0
mirror of https://github.com/jordansissel/fpm synced 2024-12-21 00:24:13 +01:00
fpm/templates/solaris.erb
exoadmin 1f7bd57501 Restore solaris package building
I'm not sure all cases are correctly handled but
previously no package at all would be built
2012-11-28 11:17:25 +01:00

16 lines
511 B
Plaintext

CLASSES=none
TZ=PST
PATH=/sbin:/usr/sbin:/usr/bin:/usr/sadm/install/bin
BASEDIR=/
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[/<.+>/] or maintainer).gsub(/[<>]/, "") %>