diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2014-06-27 07:22:07 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2014-06-27 07:22:07 +0000 |
commit | 2a1f6776a68ab50b4140ad88fd9023af8b98ecb7 (patch) | |
tree | 9d41e6b8da9b0b97c4118a398d74a4a28a55e077 /net-dialup/mwavem | |
parent | Set additional M4 dir explicitly, this fixes bug #514576, thanks to Patrick L... (diff) | |
download | gentoo-2-2a1f6776a68ab50b4140ad88fd9023af8b98ecb7.tar.gz gentoo-2-2a1f6776a68ab50b4140ad88fd9023af8b98ecb7.tar.bz2 gentoo-2-2a1f6776a68ab50b4140ad88fd9023af8b98ecb7.zip |
Revision bump: EAPI 5, migrate to autotools-utils eclass, drop obsolete checks that does not work with recent udev
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-dialup/mwavem')
-rw-r--r-- | net-dialup/mwavem/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/mwavem/mwavem-2.0-r2.ebuild | 52 |
2 files changed, 59 insertions, 1 deletions
diff --git a/net-dialup/mwavem/ChangeLog b/net-dialup/mwavem/ChangeLog index 4f3a30196f3f..04bd18ec0ec8 100644 --- a/net-dialup/mwavem/ChangeLog +++ b/net-dialup/mwavem/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/mwavem # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/ChangeLog,v 1.19 2014/06/27 07:20:27 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/ChangeLog,v 1.20 2014/06/27 07:22:07 pinkbyte Exp $ + +*mwavem-2.0-r2 (27 Jun 2014) + + 27 Jun 2014; Sergey Popov <pinkbyte@gentoo.org> +mwavem-2.0-r2.ebuild: + Revision bump: EAPI 5, migrate to autotools-utils eclass, drop obsolete + checks that does not work with recent udev 27 Jun 2014; Sergey Popov <pinkbyte@gentoo.org> mwavem-2.0-r1.ebuild: Set additional M4 dir explicitly, this fixes bug #514576, thanks to Patrick diff --git a/net-dialup/mwavem/mwavem-2.0-r2.ebuild b/net-dialup/mwavem/mwavem-2.0-r2.ebuild new file mode 100644 index 000000000000..a520f93f9a46 --- /dev/null +++ b/net-dialup/mwavem/mwavem-2.0-r2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/mwavem/mwavem-2.0-r2.ebuild,v 1.1 2014/06/27 07:22:07 pinkbyte Exp $ + +EAPI="5" + +AT_M4DIR="m4" +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="User level application for IBM Mwave modem" +HOMEPAGE="http://oss.software.ibm.com/acpmodem/" +SRC_URI="ftp://www-126.ibm.com/pub/acpmodem/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DOCS=( AUTHORS ChangeLog FAQ NEWS README README.devfs THANKS ) +PATCHES=( + "${FILESDIR}/${P}-gentoo.patch" + "${FILESDIR}/${P}-glibc-2.10.patch" +) + +src_install() { + autotools-utils_src_install + + exeinto /usr/sbin + doexe "${FILESDIR}/mwave-dev-handler" + + insinto /etc/devfs.d + newins "${FILESDIR}/mwave.devfs" mwave + + insinto /etc/modprobe.d + newins "${FILESDIR}/mwave.modules" mwave.conf + + docinto doc + dodoc doc/mwave.sgml doc/mwave.txt + dohtml doc/mwave.html +} + +pkg_postinst() { + if [ -e "${ROOT}/dev/.devfsd" ]; then + # device node is created by devfs + ebegin "Restarting devfsd to reread devfs rules" + killall -HUP devfsd + eend $? + else + elog "Create device node if needed, using command like this:" + elog "# mknod --mode=0660 \"${ROOT}/dev/modems/mwave\" c 10 219" + fi +} |