initial ebuild, thx to kir
authorBenedikt Boehm <hollow@gentoo.org>
Fri, 23 Sep 2005 04:21:02 +0000 (04:21 +0000)
committerBenedikt Boehm <hollow@gentoo.org>
Fri, 23 Sep 2005 04:21:02 +0000 (04:21 +0000)
Package-Manager: portage-2.0.52-r1

sys-fs/vzquota/ChangeLog [new file with mode: 0644]
sys-fs/vzquota/Manifest [new file with mode: 0644]
sys-fs/vzquota/files/digest-vzquota-2.7.0.7 [new file with mode: 0644]
sys-fs/vzquota/metadata.xml [new file with mode: 0644]
sys-fs/vzquota/vzquota-2.7.0.7.ebuild [new file with mode: 0644]

diff --git a/sys-fs/vzquota/ChangeLog b/sys-fs/vzquota/ChangeLog
new file mode 100644 (file)
index 0000000..0b99836
--- /dev/null
@@ -0,0 +1,10 @@
+# ChangeLog for sys-fs/vzquota
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vzquota/ChangeLog,v 1.1 2005/09/23 04:21:02 hollow Exp $
+
+*vzquota-2.7.0.7 (23 Sep 2005)
+
+  23 Sep 2005; Benedikt Boehm <hollow@gentoo.org> +metadata.xml,
+  +vzquota-2.7.0.7.ebuild:
+  initial ebuild, thx to kir
+
diff --git a/sys-fs/vzquota/Manifest b/sys-fs/vzquota/Manifest
new file mode 100644 (file)
index 0000000..3200ef7
--- /dev/null
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 45d88e3b2a7d7a2d4b8929a8bbe0d183 vzquota-2.7.0.7.ebuild 892
+MD5 b55bfb88b955107a0f0e6c5aaef21723 metadata.xml 162
+MD5 e611541b2c03b0c68c144573f0637b6f ChangeLog 355
+MD5 216c395711a7d2d0f890dcebb9f7838d files/digest-vzquota-2.7.0.7 67
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFDM4MHmPFBzbX68WERAtYSAJ4uc28NCt95LzOzT9L1njgX0jD+rACgmMwC
+jfS46htKs/2el0OtoheYyW0=
+=AJu3
+-----END PGP SIGNATURE-----
diff --git a/sys-fs/vzquota/files/digest-vzquota-2.7.0.7 b/sys-fs/vzquota/files/digest-vzquota-2.7.0.7
new file mode 100644 (file)
index 0000000..9656b7a
--- /dev/null
@@ -0,0 +1 @@
+MD5 e1109e8795fe734fc501b662d70eb01f vzquota-2.7.0-7.tar.bz2 35082
diff --git a/sys-fs/vzquota/metadata.xml b/sys-fs/vzquota/metadata.xml
new file mode 100644 (file)
index 0000000..63d4592
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>vserver</herd>
+</pkgmetadata>
diff --git a/sys-fs/vzquota/vzquota-2.7.0.7.ebuild b/sys-fs/vzquota/vzquota-2.7.0.7.ebuild
new file mode 100644 (file)
index 0000000..a575e18
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/vzquota/vzquota-2.7.0.7.ebuild,v 1.1 2005/09/23 04:21:02 hollow Exp $
+
+inherit eutils toolchain-funcs versionator linux-info
+
+VVER="$(get_version_component_range 1-3 ${PV})"
+VREL="$(get_version_component_range 4 ${PV})"
+MY_PV="${VVER}-${VREL}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="OpenVZ VPS disk quota utility"
+HOMEPAGE="http://openvz.org/"
+SRC_URI="http://download.openvz.org/utils/${PN}/${MY_PV}/src/${MY_P}.tar.bz2"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="~x86"
+
+S="${WORKDIR}/${MY_P}"
+
+CONFIG_CHECK="VE VE_CALLS VZ_QUOTA"
+
+pkg_setup() {
+       linux-info_pkg_setup
+       check_kernel_built
+}
+
+src_compile() {
+       emake VZKERNEL_HEADERS=${KV_DIR}/include || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+}