diff options
Diffstat (limited to 'net-misc/lbarcd/lbarcd-1.9.009.20110929.ebuild')
-rw-r--r-- | net-misc/lbarcd/lbarcd-1.9.009.20110929.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/lbarcd/lbarcd-1.9.009.20110929.ebuild b/net-misc/lbarcd/lbarcd-1.9.009.20110929.ebuild new file mode 100644 index 0000000..e22f6c2 --- /dev/null +++ b/net-misc/lbarcd/lbarcd-1.9.009.20110929.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit versionator rpm + +DATESTAMP="$(get_version_component_range 4)" +MY_PV=$(get_version_component_range 1-2)-$(get_version_component_range 3) +MY_P="LBarcd-${MY_PV}-Linux_x86_64-dyn-${DATESTAMP}.rpm" + +DESCRIPTION="lanbilling - billing system for internet/telephony service providers" +HOMEPAGE="http://www.lanbilling.ru/" +SRC_URI="${MY_P}" + +RESTRICT="fetch binchecks" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S=${WORKDIR} + +pkg_nofetch() { + elog "Please download ${A} from ${HOMEPAGE}" + elog "and move it to ${DISTDIR}" +} + +src_install() { + dodir etc + mv etc/billing.conf.LBarcd.sample "${ED}"/etc/billing.conf.LBarcd || die + + dodir usr + mv ./usr/* "${ED}"/usr || die + + newinitd "${FILESDIR}/LBarcd.initd" LBarcd || die + newconfd "${FILESDIR}/LBarcd.confd" LBarcd || die + +} |