diff options
Diffstat (limited to 'app-admin/flexlm/flexlm-9.5.ebuild')
-rw-r--r-- | app-admin/flexlm/flexlm-9.5.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-admin/flexlm/flexlm-9.5.ebuild b/app-admin/flexlm/flexlm-9.5.ebuild new file mode 100644 index 000000000000..9ad548804c91 --- /dev/null +++ b/app-admin/flexlm/flexlm-9.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/flexlm-9.5.ebuild,v 1.1 2005/01/02 16:00:30 chrb Exp $ + +DESCRIPTION="Macrovision FLEXlm license manager and utils" +HOMEPAGE="http://www.macrovision.com/services/support/flexlm/lmgrd.shtml" +SRC_URI="ftp://ftp.globes.com/flexlm/unix/v${PV}/i86_s8/lmgrd.Z + ftp://ftp.globes.com/flexlm/unix/v${PV}/i86_s8/lmutil.Z + http://www.macrovision.com/services/support/flexlm/enduser.pdf" + +LICENSE="Macromedia" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RESTRICT="nostrip nomirror" + +DEPEND="virtual/libc" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cp ${DISTDIR}/enduser.pdf ${S} +} + +src_install () { + # executables + dodir /opt/flexlm/bin + exeinto /opt/flexlm/bin + doexe lmgrd lmutil + # documentation + dodir /opt/flexlm/doc + insinto /opt/flexlm/doc + doins enduser.pdf + # init files + exeinto /etc/init.d + newexe ${FILESDIR}/flexlm-init flexlm + # environment + insinto /etc/env.d + doins ${FILESDIR}/90flexlm + # config + insinto /etc/conf.d/ + newins ${FILESDIR}/flexlm-conf flexlm + # empty dir for licenses + dodir /etc/flexlm +} + +pkg_postinst() { + id &>/dev/null flexlm || useradd -g nogroup -d /opt/flexlm -c "FlexLM server user" -s /bin/bash flexlm + einfo "FlexLM installed. Config is in /etc/conf.d/flexlm" + einfo "Default location for license file is /etc/flexlm/license.dat" +} |