From: "Samuli Suominen (drac)" <drac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mpg321: mpg321-0.2.10-r3.ebuild
Date: Sat, 17 May 2008 09:58:38 +0000 [thread overview]
Message-ID: <E1JxJBW-00075m-FT@stork.gentoo.org> (raw)
drac 08/05/17 09:58:38
Modified: mpg321-0.2.10-r3.ebuild
Log:
quoting
(Portage version: 2.1.5)
Revision Changes Path
1.6 media-sound/mpg321/mpg321-0.2.10-r3.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild?r1=1.5&r2=1.6
Index: mpg321-0.2.10-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mpg321-0.2.10-r3.ebuild 17 May 2008 08:48:35 -0000 1.5
+++ mpg321-0.2.10-r3.ebuild 17 May 2008 09:58:38 -0000 1.6
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild,v 1.5 2008/05/17 08:48:35 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg321/mpg321-0.2.10-r3.ebuild,v 1.6 2008/05/17 09:58:38 drac Exp $
inherit eutils
@@ -20,13 +20,13 @@
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
# fix file descriptors leak (from Debian?)
- epatch ${FILESDIR}/${P}.diff
+ epatch "${FILESDIR}"/${P}.diff
# provide an User-Agent when requesting via HTTP
# By Frank Ruell, in FreeBSD PR 84898
- epatch ${FILESDIR}/${P}-useragent.patch
+ epatch "${FILESDIR}"/${P}-useragent.patch
}
src_compile() {
@@ -36,22 +36,22 @@
}
src_install () {
- make DESTDIR=${D} install || die
+ make DESTDIR="${D}" install || die
dodoc AUTHORS BUGS ChangeLog HACKING NEWS README README.remote THANKS TODO
}
pkg_postinst() {
# We create a symlink for /usr/bin/mpg123 if it doesn't already exist
- if ! [ -f ${ROOT}/usr/bin/mpg123 ]; then
- ln -s mpg321 ${ROOT}/usr/bin/mpg123
+ if ! [ -f "${ROOT}"usr/bin/mpg123 ]; then
+ ln -s mpg321 "${ROOT}"usr/bin/mpg123
fi
}
pkg_postrm() {
# We delete the symlink if it's nolonger valid.
- if [ -L "${ROOT}/usr/bin/mpg123" ] && [ ! -x "${ROOT}/usr/bin/mpg123" ]; then
- elog "We are removing the ${ROOT}/usr/bin/mpg123 symlink since it is no longer valid."
+ if [ -L "${ROOT}usr/bin/mpg123" ] && [ ! -x "${ROOT}usr/bin/mpg123" ]; then
+ elog "We are removing the ${ROOT}usr/bin/mpg123 symlink since it is no longer valid."
elog "If you are using another virtual/mpg123 program, you should setup the appropriate symlink."
- rm ${ROOT}/usr/bin/mpg123
+ rm "${ROOT}"usr/bin/mpg123
fi
}
--
gentoo-commits@lists.gentoo.org mailing list
next reply other threads:[~2008-05-17 9:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-17 9:58 Samuli Suominen (drac) [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-01 18:03 [gentoo-commits] gentoo-x86 commit in media-sound/mpg321: mpg321-0.2.10-r3.ebuild Samuli Suominen (ssuominen)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1JxJBW-00075m-FT@stork.gentoo.org \
--to=drac@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox