diff options
author | Ryan Phillips <rphillips@gentoo.org> | 2004-01-14 21:12:55 +0000 |
---|---|---|
committer | Ryan Phillips <rphillips@gentoo.org> | 2004-01-14 21:12:55 +0000 |
commit | 1b943b3b090c65506fbf9034b3160e64176ff4b7 (patch) | |
tree | 0f7d9d5fabe0bc47e1f437bb55f019b23643780c /app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild | |
parent | Use more powerful MozillaFirebird startup script from bug 38102. Not doing a... (diff) | |
download | gentoo-2-1b943b3b090c65506fbf9034b3160e64176ff4b7.tar.gz gentoo-2-1b943b3b090c65506fbf9034b3160e64176ff4b7.tar.bz2 gentoo-2-1b943b3b090c65506fbf9034b3160e64176ff4b7.zip |
added check for 2.5 and 2.6 kernels
Diffstat (limited to 'app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild')
-rw-r--r-- | app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild b/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild index 1db5603e9405..3006258d5083 100644 --- a/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild +++ b/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild,v 1.16 2003/12/01 20:29:53 rphillips Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/cryptoapi/cryptoapi-2.4.7.0.ebuild,v 1.17 2004/01/14 21:12:47 rphillips Exp $ + +inherit check-kernel DESCRIPTION="Modules that add encryption ability at the kernel level." SRC_URI="mirror://sourceforge/cryptoapi/${P}.tar.gz" @@ -14,6 +16,12 @@ DEPEND=">=sys-apps/util-linux-2.11o-r2 virtual/linux-sources >=sys-apps/portage-1.9.10" +pkg_setup() { + if is_2_5_kernel || is_2_6_kernel ; then + die "CryptoAPI is only for 2.4 kernels" + fi +} + src_compile() { check_KV # rphillips - Fixes #19006 |