Skip to content

Instantly share code, notes, and snippets.

@nkabir
Created October 24, 2011 00:24
Show Gist options
  • Save nkabir/1308119 to your computer and use it in GitHub Desktop.
Save nkabir/1308119 to your computer and use it in GitHub Desktop.
bbblitz package manifest
#############################################################################
# Portion Package Manager Manifest
##############################################################################
##############################################################################
# Autoconfiguration Variables
##############################################################################
# name of package
$package=bbblitz
$version=2.1.4-7
$description="BlackBox Blitz Javaspaces"
# base of portion database
$portion=/opt/portion
# post-installation script
$postinstall=${portion}/${package}/postinstall.sh
# pre-removal script
$preremove=${portion}/${package}/preremove.sh
##############################################################################
# Product Information Section
##############################################################################
%product BlackBox Blitz Javaspaces
%copyright 2011
%vendor Apache
%readme README
%description ${description}
%version ${version}
%requires bbpython2
%requires sun-java6-jdk
%requires bbjini
%postinstall ${postinstall} ${package} ${version}
%preremove ${preremove} ${package} ${version}
##############################################################################
# Control files
##############################################################################
f 755 root root ${postinstall} postinstall.sh
f 755 root root ${preremove} preremove.sh
f 755 root root ${portion}/${package}/sync-and-shutdown.sh sync-and-shutdown.sh
f 744 root root /etc/init.d/bbblitz bbblitz
##############################################################################
# Payload
##############################################################################
# payload files follow here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment