diff options
author | Christian Heim <phreak@gentoo.org> | 2007-01-18 13:53:27 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-01-18 13:53:27 +0000 |
commit | c80dd116f19f18e86778d437931486700c736cb4 (patch) | |
tree | 8c72a8f5763118e85451198911d6016d1dcd132c | |
parent | Final cleanup, reenabling some useflags. (diff) | |
download | overlay-c80dd116f19f18e86778d437931486700c736cb4.tar.gz overlay-c80dd116f19f18e86778d437931486700c736cb4.tar.bz2 overlay-c80dd116f19f18e86778d437931486700c736cb4.zip |
Cleaning up the ebuild, fixing econf call.
svn path=/; revision=97
-rw-r--r-- | sys-cluster/vzctl/Manifest | 8 | ||||
-rw-r--r-- | sys-cluster/vzctl/vzctl-3.0.14.ebuild | 22 |
2 files changed, 12 insertions, 18 deletions
diff --git a/sys-cluster/vzctl/Manifest b/sys-cluster/vzctl/Manifest index 5d06029..4ae3f7a 100644 --- a/sys-cluster/vzctl/Manifest +++ b/sys-cluster/vzctl/Manifest @@ -3,10 +3,10 @@ MD5 10807ba11492d1d129a88aaa5259912c files/vzctl-3.0.14-ndsend.c.patch 333 RMD160 0a1fda036be77bfc5b4569ba5c0df395deb0ec7a files/vzctl-3.0.14-ndsend.c.patch 333 SHA256 8fef90a7b4c8193c0df7b8460fc5345bf7eca5b07d7a00691a7468fe45967418 files/vzctl-3.0.14-ndsend.c.patch 333 DIST vzctl-3.0.14.tar.bz2 356300 RMD160 529b4e3bb1fbcf673831d2891becedf6e003dcd8 SHA1 c773b495d688ee6b172d1c0941a5a57e2c188c57 SHA256 86be0231fd12f97e45bae8dae86fadc466e631051d4ee04569d40bb8f82d8b83 -EBUILD vzctl-3.0.14.ebuild 1705 RMD160 405bb4189ecd8762b67601004a987887ca132f76 SHA1 90bcf980410ddfb3b1652c8faa394ef97db74625 SHA256 4190f1fbd47819a6da9b94314c1e6bd5a49acce7fddf2a5a49ea67f531c46fd4 -MD5 186aca3e207feff5c504c7562699bc9a vzctl-3.0.14.ebuild 1705 -RMD160 405bb4189ecd8762b67601004a987887ca132f76 vzctl-3.0.14.ebuild 1705 -SHA256 4190f1fbd47819a6da9b94314c1e6bd5a49acce7fddf2a5a49ea67f531c46fd4 vzctl-3.0.14.ebuild 1705 +EBUILD vzctl-3.0.14.ebuild 1441 RMD160 9b740bbd9cde75cd5fe30e4f440aed8db9b07c4a SHA1 4c78e0e4311ccb2f690b95b647795b7e7a2b6c64 SHA256 9fc160f7ea15b52c2f699cc8172cc695f2cd5e804d540e41f5f3dfa765df668f +MD5 da7d7be36c2072280d44437c017dec18 vzctl-3.0.14.ebuild 1441 +RMD160 9b740bbd9cde75cd5fe30e4f440aed8db9b07c4a vzctl-3.0.14.ebuild 1441 +SHA256 9fc160f7ea15b52c2f699cc8172cc695f2cd5e804d540e41f5f3dfa765df668f vzctl-3.0.14.ebuild 1441 MD5 604d30b9c731718babaeebabb624dd01 files/digest-vzctl-3.0.14 241 RMD160 f2ada0ab328e14ff8b97255c320a6fdc82b9f89a files/digest-vzctl-3.0.14 241 SHA256 f31d206d22b741c4a7e5b5acee694512e153e1d7f8c4e61e1e9d31c9d633d611 files/digest-vzctl-3.0.14 241 diff --git a/sys-cluster/vzctl/vzctl-3.0.14.ebuild b/sys-cluster/vzctl/vzctl-3.0.14.ebuild index c05b8d0..2891832 100644 --- a/sys-cluster/vzctl/vzctl-3.0.14.ebuild +++ b/sys-cluster/vzctl/vzctl-3.0.14.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.13.ebuild,v 1.2 2006/12/03 08:33:48 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/vzctl/vzctl-3.0.14.ebuild,v 1.1 2007/01/18 09:40:03 phreak Exp $ -inherit bash-completion eutils flag-o-matic multilib +inherit eutils multilib DESCRIPTION="OpenVZ VPS control utility" HOMEPAGE="http://openvz.org/" @@ -29,22 +29,16 @@ src_unpack() { } src_compile() { - econf --libdir=/usr/$(get_libdir) || die "econf failed!" + econf --libdir=/usr/$(get_libdir) \ + $(use_enable bash-completion bashcomp) \ + $(use_enable logrotate ) \ + $(use_enable udev ) || die "econf failed!" + emake CFLAGS="${CFLAGS}" || die "emake failed!" } src_install() { make DESTDIR="${D}" install install-gentoo || die "make install failed" - - # Remove udev files unless USE=udev - use udev || rm -rf "${D}"/etc/udev - - # Remove the bash-completion and use dobashcompletion to install it in the - # right place! - dobashcompletion "${S}"/etc/bash_completion.d/vzctl.sh.in vzctl - - # Remove the logrotate entry unless USE=logrotate - use logrotate || rm -rf "${D}"/etc/logrotate.d } pkg_postinst() { |