diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-06 04:20:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-06 04:20:29 +0000 |
commit | dee5dfe84cef071448c84e6f84270ab29c50c5e6 (patch) | |
tree | 2ce6189e32effd4b9ca78a57b0b662e35af0fde3 /sys-apps/ezusb2131 | |
parent | New package (diff) | |
download | historical-dee5dfe84cef071448c84e6f84270ab29c50c5e6.tar.gz historical-dee5dfe84cef071448c84e6f84270ab29c50c5e6.tar.bz2 historical-dee5dfe84cef071448c84e6f84270ab29c50c5e6.zip |
prevent 2.6 users from emerging
Diffstat (limited to 'sys-apps/ezusb2131')
-rw-r--r-- | sys-apps/ezusb2131/Manifest | 12 | ||||
-rw-r--r-- | sys-apps/ezusb2131/ezusb2131-1.0.ebuild | 28 |
2 files changed, 29 insertions, 11 deletions
diff --git a/sys-apps/ezusb2131/Manifest b/sys-apps/ezusb2131/Manifest index e5edaef47ca1..5426df858003 100644 --- a/sys-apps/ezusb2131/Manifest +++ b/sys-apps/ezusb2131/Manifest @@ -1,4 +1,14 @@ -MD5 586fe03e74f65fc6db481fea17b30a79 ezusb2131-1.0.ebuild 883 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 9a953411759c8f8efa6153048a4106c0 ChangeLog 357 +MD5 9be386ad422b0fabfd92efbea00edee5 ezusb2131-1.0.ebuild 1023 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 12ad28c74c2e43a88054e0c4c61f95db files/digest-ezusb2131-1.0 65 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.9.10 (GNU/Linux) + +iD8DBQFB3LybroRuSHgZdywRAp8gAJ9CbiiOJIG2PHgHNPWmlf03cYCWXwCfdq1o +dTCJzs1jdy5AXHon+s8Bj+w= +=DFmu +-----END PGP SIGNATURE----- diff --git a/sys-apps/ezusb2131/ezusb2131-1.0.ebuild b/sys-apps/ezusb2131/ezusb2131-1.0.ebuild index 3f6a11b48916..197821834da4 100644 --- a/sys-apps/ezusb2131/ezusb2131-1.0.ebuild +++ b/sys-apps/ezusb2131/ezusb2131-1.0.ebuild @@ -1,30 +1,39 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ezusb2131/ezusb2131-1.0.ebuild,v 1.3 2004/06/24 22:05:27 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ezusb2131/ezusb2131-1.0.ebuild,v 1.4 2005/01/06 04:20:29 vapier Exp $ MY_P=${PN/e/E}-${PV} DESCRIPTION="This is a firmware uploader for EZ-USB devices" HOMEPAGE="http://ezusb2131.sourceforge.net/" SRC_URI="mirror://sourceforge/ezusb2131/${MY_P}.tar.gz" + LICENSE="GPL-2" SLOT="0" - -KEYWORDS="x86 amd64" +KEYWORDS="amd64 x86" IUSE="" -DEPEND="" +DEPEND="" RDEPEND="sys-apps/hotplug" S=${WORKDIR}/Ezusb2131 + +pkg_setup() { + if [[ ${KV:0:2} != "2.6" ]] ; then + eerror "This kernel module is only for 2.4 kernels." + eerror "See ${HOMEPAGE} for 2.6 support." + die "2.4 kernel only" + fi +} + src_compile() { - einfo "${S}" make all || die } src_install() { - cp Makefile Makefile~ - sed -e 's/INSTALLDIR = \/lib\/modules/INSTALLDIR = ${D}\/lib\/modules/' \ - -e 's/depmod -a/#depmod -a/' Makefile~ > Makefile + sed -i \ + -e 's/INSTALLDIR = \/lib\/modules/INSTALLDIR = ${D}\/lib\/modules/' \ + -e 's/depmod -a/#depmod -a/' \ + Makefile make install || die dodoc ${S}/README ${S}/COPYING ${S}/AUTHORS @@ -34,4 +43,3 @@ pkg_postinst() { einfo "Updating modules dependancies" depmod -a } - |