git-svn-id: http://svn.calculate.ru/overlay@1674 c91db197-33c1-4113-bf15-f8a5c547ca64atratsevskiy
parent
bd04cc692c
commit
f191602891
@ -0,0 +1 @@
|
||||
EBUILD calculate-9999.ebuild 1548 RMD160 03217f7dc4acc9c7514835c37f4f0cb013cbd78c SHA1 1306f2db3c9fc8157a76b45f313297a0e5e18736 SHA256 47aee5b8d67b3237c5c6ec763b469eb868ab70312afe6b3a8dc2493469bef893
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/mtop/mtop-0.6.6.ebuild,v 1.9 2007/07/13 06:38:59 mr_bones_ Exp $
|
||||
|
||||
inherit subversion
|
||||
|
||||
ESVN_REPO_URI="http://svn.calculate.ru/calculate/trunk/"
|
||||
DESCRIPTION="Program for installation, building and upgrading system"
|
||||
HOMEPAGE="http://www.calculate-linux.org/Calculate"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64c"
|
||||
IUSE="nmap"
|
||||
DEPEND="sys-apps/util-linux
|
||||
dev-lang/perl
|
||||
sys-apps/grep
|
||||
sys-apps/which
|
||||
net-misc/wget
|
||||
net-dns/bind-tools
|
||||
nmap? ( net-analyzer/nmap )
|
||||
sys-apps/net-tools
|
||||
sys-apps/hal
|
||||
sys-apps/findutils
|
||||
sys-apps/pciutils
|
||||
sys-boot/grub
|
||||
sys-fs/udev
|
||||
net-nds/openldap
|
||||
sys-apps/usbutils
|
||||
sys-devel/gettext
|
||||
sys-apps/file
|
||||
sys-kernel/calckernel
|
||||
dev-libs/openssl
|
||||
app-arch/tar
|
||||
sys-apps/module-init-tools
|
||||
app-arch/gzip
|
||||
app-arch/bzip2
|
||||
app-arch/p7zip
|
||||
app-arch/cpio
|
||||
app-shells/bash
|
||||
app-portage/layman"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -e /usr/calculate/install ] && \
|
||||
! [ -e /var/db/pkg/sys-apps/calculate-[0-9]* ];
|
||||
then
|
||||
eerror "Finding other copy of calculate in target directory"
|
||||
eerror "Please, remove it, before continue installation."
|
||||
eerror "\trm -rf /usr/calculate/install"
|
||||
die "Cannot continue install. Remove previous calculate installation."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" || die "Calculate installation failed."
|
||||
dodoc Change.log COPYING LICENSE
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ln -sf /usr/calculate/install/calculate /usr/sbin/calculate
|
||||
}
|
Loading…
Reference in new issue