diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-21 07:14:25 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-07-21 07:14:25 +0000 |
commit | 6a00a36c8ab0381eebe9559c701d8913f24d0ca4 (patch) | |
tree | 8c29ff283577b39f65d87d196bdf526136504502 /sys-block | |
parent | Stable x86; little globes ++ (diff) | |
download | gentoo-2-6a00a36c8ab0381eebe9559c701d8913f24d0ca4.tar.gz gentoo-2-6a00a36c8ab0381eebe9559c701d8913f24d0ca4.tar.bz2 gentoo-2-6a00a36c8ab0381eebe9559c701d8913f24d0ca4.zip |
Version bump.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/unieject/ChangeLog | 9 | ||||
-rw-r--r-- | sys-block/unieject/files/digest-unieject-5.3.2 | 3 | ||||
-rw-r--r-- | sys-block/unieject/unieject-5.3.2.ebuild | 76 |
3 files changed, 87 insertions, 1 deletions
diff --git a/sys-block/unieject/ChangeLog b/sys-block/unieject/ChangeLog index 67983d108429..ca3065b5fbd5 100644 --- a/sys-block/unieject/ChangeLog +++ b/sys-block/unieject/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-block/unieject # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.31 2006/06/30 14:28:21 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/ChangeLog,v 1.32 2006/07/21 07:14:25 flameeyes Exp $ + +*unieject-5.3.2 (21 Jul 2006) + + 21 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> + -files/unieject-5.3.1-ppc.patch, -unieject-5.3.1-r1.ebuild, + +unieject-5.3.2.ebuild: + Version bump. 30 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> unieject-5.3.1-r1.ebuild: diff --git a/sys-block/unieject/files/digest-unieject-5.3.2 b/sys-block/unieject/files/digest-unieject-5.3.2 new file mode 100644 index 000000000000..8e07428c9fee --- /dev/null +++ b/sys-block/unieject/files/digest-unieject-5.3.2 @@ -0,0 +1,3 @@ +MD5 57dd3ef72c72adf4cbe610ce3d52a25b unieject-5.3.2.tar.bz2 337274 +RMD160 a236e58c6cbfdbea2f8c10dfad1361989e8c0406 unieject-5.3.2.tar.bz2 337274 +SHA256 b32077ffd9e1af94a048afc55591b4ec43ca67fa720218d47f9120cd00105c51 unieject-5.3.2.tar.bz2 337274 diff --git a/sys-block/unieject/unieject-5.3.2.ebuild b/sys-block/unieject/unieject-5.3.2.ebuild new file mode 100644 index 000000000000..bf8873c9c8ce --- /dev/null +++ b/sys-block/unieject/unieject-5.3.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/unieject/unieject-5.3.2.ebuild,v 1.1 2006/07/21 07:14:25 flameeyes Exp $ + +inherit eutils libtool flag-o-matic + +DESCRIPTION="Multiplatform command to eject and load CD-Rom drives" +HOMEPAGE="http://dev.gentoo.org/~flameeyes/projects" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="nls pmount" + +RDEPEND=">=dev-libs/libcdio-0.77 + dev-libs/popt + >=dev-libs/confuse-2.5 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + sys-apps/sed" +RDEPEND="${RDEPEND} + pmount? ( sys-apps/pmount ) + !sys-apps/eject + !sys-block/eject-bsd" + +PROVIDE="virtual/eject" + +pkg_setup() { + use pmount && enewgroup plugdev +} + +src_unpack() { + unpack ${A} + cd "${S}" + + elibtoolize +} + +src_compile() { + use pmount && append-ldflags $(bindnow-flags) + + econf \ + $(use_enable nls) \ + --enable-lock-workaround \ + --disable-dependency-tracking \ + --disable-doc \ + --htmldir=/usr/share/doc/${PF}/html \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README ChangeLog NEWS AUTHORS unieject.conf.sample + + # Symlink to eject to provide a good virtual/eject + dosym unieject.1.gz /usr/share/man/man1/eject.1.gz + dosym unieject /usr/bin/eject + + # If we enable support for pmount, we need to change the installed + # configuration file to enable the unmount wrapper, and we also set the + # command setuid root but in group plugdev, so that it's inlined with pmount + # itself. + if use pmount; then + fowners root:plugdev /usr/bin/unieject + fperms 1710 /usr/bin/unieject + chmod +s "${D}/usr/bin/unieject" + + dodir /etc + sed -e 's:^# \(unmount-wrapper = \):\1:' \ + "${S}/unieject.conf.sample" \ + > "${D}/etc/unieject.conf" + fi +} |