diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-01 18:08:41 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-06-01 18:08:41 +0000 |
commit | dca1c30f94e76438da8ef9eeb0e02fc3528b25fb (patch) | |
tree | 8c7eb19c8e99b10dd254115557e33fc3d646abab /media-sound/mserv | |
parent | Automated update of use.local.desc (diff) | |
download | historical-dca1c30f94e76438da8ef9eeb0e02fc3528b25fb.tar.gz historical-dca1c30f94e76438da8ef9eeb0e02fc3528b25fb.tar.bz2 historical-dca1c30f94e76438da8ef9eeb0e02fc3528b25fb.zip |
Fix repoman warnings
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'media-sound/mserv')
-rw-r--r-- | media-sound/mserv/mserv-0.35-r1.ebuild | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/media-sound/mserv/mserv-0.35-r1.ebuild b/media-sound/mserv/mserv-0.35-r1.ebuild index 319da661b53c..c465aab25653 100644 --- a/media-sound/mserv/mserv-0.35-r1.ebuild +++ b/media-sound/mserv/mserv-0.35-r1.ebuild @@ -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/mserv/mserv-0.35-r1.ebuild,v 1.11 2008/02/02 15:31:53 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mserv/mserv-0.35-r1.ebuild,v 1.12 2009/06/01 18:08:41 ssuominen Exp $ inherit depend.apache webapp eutils toolchain-funcs @@ -19,6 +19,7 @@ RDEPEND=">=dev-lang/perl-5.6.1 virtual/mpg123 media-sound/sox vorbis? ( media-sound/vorbis-tools )" +DEPEND="" need_apache @@ -30,35 +31,35 @@ pkg_setup() { src_unpack() { unpack ${A} - cd ${S} + cd "${S}" # Adjust paths to match Gentoo - epatch ${FILESDIR}/${P}-paths.patch || die + epatch "${FILESDIR}"/${P}-paths.patch # Mservplay uses stricmp - should be strcasecmp - epatch ${FILESDIR}/${P}-mservplay.patch || die + epatch "${FILESDIR}"/${P}-mservplay.patch } src_compile() { - econf || die - emake || die + econf + emake || die "emake failed" # Optional suid wrapper - cd ${S}/support + cd "${S}"/support $(tc-getCC) -I.. -I../mserv ${CFLAGS} ${LDFLAGS} mservplay.c -o mservplay || die } src_install() { webapp_src_preinst - make DESTDIR=${D} install || die + emake DESTDIR="${D}" install || die "emake install failed" dobin support/mservedit support/mservripcd support/mservplay dodoc AUTHORS ChangeLog docs/quick-start.txt # Web client dodir ${MY_CGIBINDIR}/${PN} - cp webclient/*.cgi ${D}/${MY_CGIBINDIR}/${PN} - cp webclient/*.gif webclient/index.html ${D}/${MY_HTDOCSDIR} + cp webclient/*.cgi "${D}"/${MY_CGIBINDIR}/${PN} + cp webclient/*.gif webclient/index.html "${D}"/${MY_HTDOCSDIR} webapp_src_install @@ -66,22 +67,22 @@ src_install() { insopts -o mserv -g mserv -m0644 insinto /etc/mserv fowners mserv:mserv /etc/mserv - newins ${FILESDIR}/${P}-config config - newins ${FILESDIR}/${P}-webacl webacl - newins ${FILESDIR}/${P}-acl acl + newins "${FILESDIR}"/${P}-config config + newins "${FILESDIR}"/${P}-webacl webacl + newins "${FILESDIR}"/${P}-acl acl insinto ${MY_HOSTROOTDIR}/${PN} fowners mserv:mserv ${MY_HOSTROOTDIR}/${PN} - newins ${FILESDIR}/${P}-config config - newins ${FILESDIR}/${P}-webacl webacl - newins ${FILESDIR}/${P}-acl acl + newins "${FILESDIR}"/${P}-config config + newins "${FILESDIR}"/${P}-webacl webacl + newins "${FILESDIR}"/${P}-acl acl fperms 0600 ${MY_HOSTROOTDIR}/${PN}/acl - newinitd ${FILESDIR}/${P}-initd ${PN} - newconfd ${FILESDIR}/${P}-confd ${PN} + newinitd "${FILESDIR}"/${P}-initd ${PN} + newconfd "${FILESDIR}"/${P}-confd ${PN} # Log file dodir /var/log - touch ${D}var/log/mserv.log + touch "${D}"var/log/mserv.log fowners mserv:mserv /var/log/mserv.log # Track and album info @@ -90,7 +91,7 @@ src_install() { # Current track output dodir /var/spool/mserv - touch ${D}var/spool/mserv/player.out + touch "${D}"var/spool/mserv/player.out fowners mserv:mserv /var/spool/mserv /var/spool/mserv/player.out } |