summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-02-28 18:06:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-02-28 18:06:33 +0000
commit24762b882bb62a4e3ce22558ab1212fedfe11994 (patch)
treea043a4433e0b16b076e1d2afccd8a745bef89168 /media-sound/mup/mup-5.1.ebuild
parentUse virtual/jpeg. (diff)
downloadgentoo-2-24762b882bb62a4e3ce22558ab1212fedfe11994.tar.gz
gentoo-2-24762b882bb62a4e3ce22558ab1212fedfe11994.tar.bz2
gentoo-2-24762b882bb62a4e3ce22558ab1212fedfe11994.zip
old
(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mup/mup-5.1.ebuild')
-rw-r--r--media-sound/mup/mup-5.1.ebuild87
1 files changed, 0 insertions, 87 deletions
diff --git a/media-sound/mup/mup-5.1.ebuild b/media-sound/mup/mup-5.1.ebuild
deleted file mode 100644
index 245a3e5484e9..000000000000
--- a/media-sound/mup/mup-5.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-5.1.ebuild,v 1.9 2007/07/22 08:26:52 drac Exp $
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Program for printing music scores"
-HOMEPAGE="http://www.arkkra.com/"
-SRC_URI="ftp://ftp.arkkra.com/pub/unix/mup${PV//.}src.tar.gz
- ftp://ftp.arkkra.com/pub/unix/mup${PV//.}doc.tar.gz"
-
-LICENSE="Arkkra"
-SLOT="0"
-KEYWORDS="amd64 ~ppc sparc x86"
-IUSE="X svga"
-
-RDEPEND="X? ( x11-libs/libX11 )
- svga? ( >=media-libs/svgalib-1.4.3 )"
-DEPEND="${RDEPEND}
- X? ( x11-proto/xextproto )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}css.patch
-}
-
-src_compile() {
- local param
-
- cd "${S}"/mup
- echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o mup *.c -lm
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o mup *.c -lm || die "mup compile failed"
-
- cd "${S}"/mkmupfnt
- echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o mkmupfnt *.c
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o mkmupfnt *.c || die "mkmupfnt compile failed"
-
- if use X || use svga ; then
- cd "${S}"/mupdisp
- if use X ; then
- param="-lX11 -L/usr/X11R6/lib"
- else
- sed -i '/XWINDOW/s:.*::' dispttyp.h
- fi
- if use svga ; then
- param="${param} -lvga"
- else
- param="${param} -DNO_VGA_LIB"
- fi
- echo $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o mupdisp *.c -lm ${param}
- $(tc-getCC) ${CFLAGS} ${LDFLAS} -o mupdisp *.c -lm ${param} || die "mupdisp compile failed"
- fi
-}
-
-src_install() {
- dobin mup/mup mkmupfnt/mkmupfnt mupprnt || die
- if use X || use svga ; then
- dobin mupdisp/mupdisp || die
- fi
-
- dodoc README0
- cd docs
- dodoc *.txt README1
- doman mup.1 mkmupfnt.1 mupprnt.1
- if use X || use svga ; then
- doman mupdisp.1
- fi
- dohtml uguide/*
- docinto sample
- dodoc *.mup *.ps
-}
-
-pkg_postinst() {
- if use svga ; then
- elog "Please note that using mupdisp in SVGA mode on the console"
- elog "requires that it can write to the console device. To allow"
- elog "this, make mupdisp setuid to root, like this:"
- elog
- elog "\tchown root /usr/bin/mupdisp"
- elog "\tchmod u+s /usr/bin/mupdisp"
- fi
- if use X || use svga ; then
- echo
- elog "If you want to use mupdisp, make sure you also install ghostscript."
- fi
-}