summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2010-05-05 18:27:23 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2010-05-05 18:27:23 +0000
commit127548592ad86d366debac880556a9c6002b0e63 (patch)
tree47fe52d4e92ea86f22c2ffbfdf41d6a1ef7a97cb /media-sound/mup
parentMissing sys-apps/checkpolicy from selinux mask (diff)
downloadhistorical-127548592ad86d366debac880556a9c6002b0e63.tar.gz
historical-127548592ad86d366debac880556a9c6002b0e63.tar.bz2
historical-127548592ad86d366debac880556a9c6002b0e63.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-sound/mup')
-rw-r--r--media-sound/mup/ChangeLog8
-rw-r--r--media-sound/mup/Manifest5
-rw-r--r--media-sound/mup/files/mup-5.6-Makefile.patch407
-rw-r--r--media-sound/mup/mup-5.6.ebuild42
4 files changed, 460 insertions, 2 deletions
diff --git a/media-sound/mup/ChangeLog b/media-sound/mup/ChangeLog
index 1af3e8b83c32..360029d29757 100644
--- a/media-sound/mup/ChangeLog
+++ b/media-sound/mup/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/mup
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.31 2010/05/05 17:19:19 tomjbe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/ChangeLog,v 1.32 2010/05/05 18:27:22 tomjbe Exp $
+
+*mup-5.6 (05 May 2010)
+
+ 05 May 2010; Thomas Beierlein <tomjbe@gentoo.org> +mup-5.6.ebuild,
+ +files/mup-5.6-Makefile.patch:
+ Version bump.
05 May 2010; Thomas Beierlein <tomjbe@gentoo.org> mup-5.4.ebuild:
Use /usr/$(get_libdir) instead hardcoded /usr/lib; Resolves Bug #281424.
diff --git a/media-sound/mup/Manifest b/media-sound/mup/Manifest
index bec541e7d6a9..fc60f2166e92 100644
--- a/media-sound/mup/Manifest
+++ b/media-sound/mup/Manifest
@@ -1,9 +1,12 @@
AUX mup-5.1css.patch 7807 RMD160 0064ea652ef0485089704f48ae9bf5d2bfd59112 SHA1 9161f66c9bf325a2d59a4831fd6bccfb20353c6b SHA256 341879eadc23e207c5113fb971136042131ee249e3764f37ee73dd11b01d581d
AUX mup-5.4-Makefile.patch 9853 RMD160 11c9708a39dbd9ae49080fe3af7bd388ade7cb70 SHA1 a9d7fb3904708d6707c57b9c86200d186f2021b8 SHA256 3c8780b7abdd0dfcca4b1948054e9f1c685735f3aa9af4d2d83e20283f3206c8
+AUX mup-5.6-Makefile.patch 11140 RMD160 d5958ab4b496b47e7a9e999e70a4d9100725fdf1 SHA1 99d529bf0e13ce7c6b3a6012e026cda0a3821b6a SHA256 d72e6453f2c761cd576d284732681ca08bd15c39cf2eeb5bc69ef71fb520e6e4
DIST mup51doc.tar.gz 667966 RMD160 b07f97a21306e47bfe62c7ab2bf1a255632623f9 SHA1 cda0d1af0509e98b3a28091352ad35772cf793c6 SHA256 7d0ea9b91b7764dc734d769fe97c544b3336abf0dba46367d0bc7bd5862ac954
DIST mup51src.tar.gz 816673 RMD160 6d097dc832bcb065fef6e5398acb96be9cb6b11d SHA1 5decf377f9178c6a653e0f8db83c47c81440e087 SHA256 29a4108d881f92e59672542858ea72466dfa52e0f265e7b81003155dc530d2af
DIST mup54src.tar.gz 1705171 RMD160 27687208fe59bf41c208cc8a54ff9ed149a4a748 SHA1 70864d8bf935fe3bf24bec7a922a7ea2b3c74ee7 SHA256 a29b6b4a1294b8b52e3f265d980c6a16e5a90cc233e8b4254131159e78216ec0
+DIST mup56src.tar.gz 1845464 RMD160 01983c6d13a5d352f7da5c2ac77c627a10d99f26 SHA1 fe16153c364427f3a78700a95d343c5c82c30703 SHA256 2751be81131b155e01d770c5c6c8b5507748eeb21ea8b2dd7dba321ffd8fb1b6
EBUILD mup-5.1.ebuild 2209 RMD160 4c236d73dc55a32f089a07336c0e5549e20f23f7 SHA1 2e9e26046f68cabf89ce12f23527b05d541ffdac SHA256 fe2cb7130f62136e92c3ca17fe0fb25bcc7cfd0880fe153330e7f7340a394e0b
EBUILD mup-5.4.ebuild 1063 RMD160 e0490e57072349e73b435bf61ae5c093ea476f54 SHA1 addc841d0b4d7818464b1d0e9eeab833f9fdd639 SHA256 e083a441054ee0861811289f187310d5480b725e16418db6da7ccc5f2860fcda
-MISC ChangeLog 3829 RMD160 71fdc39ef50fd8e1bb40391352868a61278cf77f SHA1 e29e76c0e195233e6706ab703dec3b019e300c8b SHA256 695a908acc9b0753d243dc18ef82e72a8aaa9d43e01fa4a943efa11eb2655fea
+EBUILD mup-5.6.ebuild 1066 RMD160 bee4a9181df3627fe57773918ab446df3fff7f78 SHA1 23507bf8483de4f903864699f0445637976bf317 SHA256 a7217b261f8d5afa3de42e4bf7bec5bce1451a9ac4343605d28429ef93b3d472
+MISC ChangeLog 3972 RMD160 65c39196da3048c0b54ae10c0bec9c3662f5a60a SHA1 8d8a0bd31b5e8fe08c606c4934cfe77ec81a1924 SHA256 684e1d2e7ba840c0e251c3c8ac9daa5b479470106e994540a6c6f93577c8bc09
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
diff --git a/media-sound/mup/files/mup-5.6-Makefile.patch b/media-sound/mup/files/mup-5.6-Makefile.patch
new file mode 100644
index 000000000000..36aed70d83fb
--- /dev/null
+++ b/media-sound/mup/files/mup-5.6-Makefile.patch
@@ -0,0 +1,407 @@
+diff -urN mup-5.6.orig/Makefile mup-5.6/Makefile
+--- mup-5.6.orig/Makefile 1970-01-01 00:00:00.000000000 +0000
++++ mup-5.6/Makefile 2010-05-05 18:11:13.000000000 +0000
+@@ -0,0 +1,148 @@
++PREFIX = /usr
++BINDIR = $(PREFIX)/bin
++MANDIR = $(PREFIX)/share/man/man1
++CC = gcc
++CXX = g++
++CFLAGS = -O2 -pipe
++CXXFLAGS = -O2 -pipe
++X_LOCATION = /usr
++FLTK_LIB_LOCATION = -L/usr/lib/fltk-1.1
++X_LIBS = -lXext -lX11 -lXpm
++FLTK_INCLUDE = $(X_LOCATION)/include/fltk-1.1
++JPEGLIB = jpeg
++PNGLIB = png
++ZLIB = z
++
++MUP_SRC = \
++ mup/abshorz.c \
++ mup/absvert.c \
++ mup/assign.c \
++ mup/beaming.c \
++ mup/beamstem.c \
++ mup/brac.c \
++ mup/charinfo.c \
++ mup/check.c \
++ mup/debug.c \
++ mup/errors.c \
++ mup/extchtbl.c \
++ mup/font.c \
++ mup/fontdata.c \
++ mup/globals.c \
++ mup/grpsyl.c \
++ mup/ifgram.c \
++ mup/lex.c \
++ mup/locvar.c \
++ mup/lyrics.c \
++ mup/macros.c \
++ mup/main.c \
++ mup/mainlist.c \
++ mup/map.c \
++ mup/midi.c \
++ mup/midiutil.c \
++ mup/mkchords.c \
++ mup/muschtbl.c \
++ mup/nxtstrch.c \
++ mup/parstssv.c \
++ mup/parstuff.c \
++ mup/phrase.c \
++ mup/plutils.c \
++ mup/print.c \
++ mup/prntdata.c \
++ mup/prntmisc.c \
++ mup/prnttab.c \
++ mup/prolog.c \
++ mup/range.c \
++ mup/rational.c \
++ mup/relvert.c \
++ mup/restsyl.c \
++ mup/roll.c \
++ mup/setgrps.c \
++ mup/setnotes.c \
++ mup/ssv.c \
++ mup/stuff.c \
++ mup/symtbl.c \
++ mup/tie.c \
++ mup/trantab.c \
++ mup/trnspose.c \
++ mup/undrscre.c \
++ mup/utils.c \
++ mup/ytab.c
++
++MUP_HDRS = \
++ mup/defines.h \
++ mup/extchar.h \
++ mup/globals.h \
++ mup/muschar.h \
++ mup/rational.h \
++ mup/ssvused.h \
++ mup/structs.h \
++ mup/ytab.h
++
++MUPDISP_SRC = \
++ mupdisp/at386.c \
++ mupdisp/do_cmd.c \
++ mupdisp/dos.c \
++ mupdisp/genfile.c \
++ mupdisp/init.c \
++ mupdisp/linvga.c \
++ mupdisp/mupdisp.c \
++ mupdisp/xterm.c
++
++MUPDISP_HDRS = mupdisp/dispttyp.h mupdisp/mupdisp.h
++MUPDISP_BITMAPS = mupdisp/help.bm mupdisp/waitmsg.bm
++MKMUPFNT_SRC = mkmupfnt/mkmupfnt.c
++
++MUPMATE_SRC = \
++ mupmate/Config.C \
++ mupmate/Edit.C \
++ mupmate/File.C \
++ mupmate/Help.C \
++ mupmate/Main.C \
++ mupmate/Preferences.C \
++ mupmate/Run.C \
++ mupmate/utils.C \
++ mupmate/license.C \
++ mupmate/regform.C \
++ mupmate/template.C
++
++MUPMATE_HDRS = \
++ mup/defines.h \
++ mupmate/Config.H \
++ mupmate/Edit.H \
++ mupmate/File.H \
++ mupmate/Help.H \
++ mupmate/Main.H \
++ mupmate/Preferences.H \
++ mupmate/Run.H \
++ mupmate/utils.H \
++ mupmate/globals.H \
++ mupmate/resource.h
++
++MUPMATE_OTHER_FILES = \
++ mupmate/mup32.xpm
++
++all: mup/mup mupdisp/mupdisp mkmupfnt/mkmupfnt mupmate/mupmate
++
++mup/mup: $(MUP_HDRS) $(MUP_SRC)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MUP_SRC) -lm
++
++mupdisp/mupdisp: $(MUPDISP_HDRS) $(MUPDISP_BITMAPS) $(MUPDISP_SRC)
++ $(CC) $(CFLAGS) $(LDFLAGS) -L$(X_LOCATION)/lib -o $@ -DNO_VGA_LIB $(MUPDISP_SRC) -lX11
++
++mkmupfnt/mkmupfnt: $(MKMUPFNT_SRC)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(MKMUPFNT_SRC)
++
++mupmate/mupmate: $(MUPMATE_SRC) $(MUPMATE_HDRS) $(MUPMATE_OTHER_FILES)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(MUPMATE_SRC) \
++ -I$(FLTK_INCLUDE) -Imup -L$(X_LOCATION)/lib \
++ $(FLTK_LIB_LOCATION) -lfltk -lfltk_images $(X_LIBS) \
++ -l$(JPEGLIB) -l$(PNGLIB) -l$(ZLIB) -lm
++
++install: all
++ mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)
++ cp mup/mup $(DESTDIR)$(BINDIR)/mup
++ cp mkmupfnt/mkmupfnt $(DESTDIR)$(BINDIR)/mkmupfnt
++ cp mupdisp/mupdisp $(DESTDIR)$(BINDIR)/mupdisp
++ cp mupmate/mupmate $(DESTDIR)$(BINDIR)/mupmate
++ cp mupprnt $(DESTDIR)$(BINDIR)/mupprnt
++ cp docs/*.1 $(DESTDIR)$(MANDIR)
+diff -urN mup-5.6.orig/makefile mup-5.6/makefile
+--- mup-5.6.orig/makefile 2010-05-05 18:10:57.000000000 +0000
++++ mup-5.6/makefile 1970-01-01 00:00:00.000000000 +0000
+@@ -1,251 +0,0 @@
+-
+-# Makefile for Mup (and auxiliary programs mupdisp, mkmupfnt, and mupmate).
+-# This is not an optimal makefile; instead it tries to be very simple,
+-# and easy to understand, so it can be easily modified, if needed.
+-
+-# On most Linux/Unix type systems, just doing
+-# make install
+-# as root will probably work.
+-# (You really only need to be root to copy the products into
+-# the system directories. If you change PREFIX
+-# to point to some other writeable area, you wouldn't need to be root.)
+-# For Apple Mac OX X, see the notes for what to change (CLFAGS and X_LIBS)
+-# If you only want the Mup program itself, you can do
+-# make mup/mup
+-# The other programs are optional:
+-# - mupdisp runs Mup and then runs GhostScript on the result.
+-# You can run Mup directly, and use gv, GSview, ghostview or any other
+-# PostScript viewer on the Mup output, as an alternative to mupdisp.
+-# - mkmupfnt is only needed if you want to use fonts beyond the basic
+-# standard PostScript fonts.
+-# - mupmate is a graphical user interface front end for Mup.
+-# It is not needed if you intend to only use Mup via command line interface.
+-
+-# The mupdisp and mupmate programs require X libraries and headers (www.x.org).
+-# The mupmate program requires FLTK libraries and headers (www.fltk.org).
+-
+-# If you want mupdisp to support Linux console mode, make sure you have
+-# the svgalib package installed, then find the two commented-out lines below
+-# related to Linux console support, and uncomment them.
+-
+-# If you are building on a system that does not support make,
+-# you can look at what this makefile does for how to build.
+-# Mup itself is generally easy to build.
+-# You just go to the mup directory and run your C compiler on
+-# all the .c files in directory, and link with the math library,
+-# Typically this is done using a command something like:
+-# cc *.c -lm
+-# For more information on building Mup, see:
+-# http://www.arkkra.com/doc/dosbld.html
+-# http://www.arkkra.com/doc/otherbld.html
+-# http://www.arkkra.com/doc/unixbld.html
+-
+-# Lines you might conceivably want to change have comments by them,
+-# explaining how you might want to change them.
+-# Any line without any comment by it is very unlikely to ever need changing.
+-
+-#-----------------------------------------------------------------------
+-
+-# These define where to put the Mup products.
+-# You could change this to /usr/local or your own space if you like.
+-PREFIX = /usr
+-BINDIR = $(PREFIX)/bin
+-MANDIR = $(PREFIX)/man/man1
+-DOCDIR = $(PREFIX)/share/doc/packages/mup
+-
+-# This is the name of your C compiler.
+-# cc would be another common choice.
+-CCOMPILER = gcc
+-
+-# This is the name of your C++ compiler.
+-# CC would be another common choice.
+-CPPCOMPILER = g++
+-
+-# -O option turns on optimization for most C compilers.
+-# You can add other options, if you like, as appropriate for your C compiler.
+-# Another common addition would be -g to get debugging information.
+-# For Mac OS X, you should probably add
+-# -Dunix
+-# and if you want universal binaries, add
+-# -arch i386 -arch ppc
+-# and if you want backward compatibility to older versions, add something like
+-# -mmacosx-version-min=10.1
+-CFLAGS = -O
+-
+-# You can change this if your X libraries and headers are somewhere else
+-# (like /usr/X11R6).
+-X_LOCATION = /usr/X11
+-
+-# If you installed fltk somewhere other than $(X_LOCATION)/lib
+-# set this to find them, as in
+-# FLTK_LIB_LOCATION = -L/usr/local/lib
+-FLTK_LIB_LOCATION =
+-
+-# The X libraries to link with Mupmate.
+-X_LIBS = -lXext -lX11 -lXpm
+-# On Mac OS X replace that with
+-# X_LIBS = -framework Carbon
+-
+-# The FLTK header files are under $(FLTK_INCLUDE)/FL
+-FLTK_INCLUDE = $(X_LOCATION)/include
+-
+-# You can use fltk_jpeg or jpeg library, whichever you have
+-JPEGLIB = fltk_jpeg
+-
+-# You can use fltk_png or png library, whichever you have
+-PNGLIB = fltk_png
+-
+-# You can use fltk_z or z library, whichever you have
+-ZLIB = fltk_z
+-
+-#-----------------------------------------------------------------------
+-
+-MUP_SRC = \
+- mup/abshorz.c \
+- mup/absvert.c \
+- mup/assign.c \
+- mup/beaming.c \
+- mup/beamstem.c \
+- mup/brac.c \
+- mup/charinfo.c \
+- mup/check.c \
+- mup/debug.c \
+- mup/errors.c \
+- mup/extchtbl.c \
+- mup/font.c \
+- mup/fontdata.c \
+- mup/globals.c \
+- mup/grpsyl.c \
+- mup/ifgram.c \
+- mup/lex.c \
+- mup/locvar.c \
+- mup/lyrics.c \
+- mup/macros.c \
+- mup/main.c \
+- mup/mainlist.c \
+- mup/map.c \
+- mup/midi.c \
+- mup/midiutil.c \
+- mup/mkchords.c \
+- mup/muschtbl.c \
+- mup/nxtstrch.c \
+- mup/parstssv.c \
+- mup/parstuff.c \
+- mup/phrase.c \
+- mup/plutils.c \
+- mup/print.c \
+- mup/prntdata.c \
+- mup/prntmisc.c \
+- mup/prnttab.c \
+- mup/prolog.c \
+- mup/range.c \
+- mup/rational.c \
+- mup/relvert.c \
+- mup/restsyl.c \
+- mup/roll.c \
+- mup/setgrps.c \
+- mup/setnotes.c \
+- mup/ssv.c \
+- mup/stuff.c \
+- mup/symtbl.c \
+- mup/tie.c \
+- mup/trantab.c \
+- mup/trnspose.c \
+- mup/undrscre.c \
+- mup/utils.c \
+- mup/ytab.c
+-
+-MUP_HDRS = \
+- mup/defines.h \
+- mup/extchar.h \
+- mup/globals.h \
+- mup/muschar.h \
+- mup/rational.h \
+- mup/ssvused.h \
+- mup/structs.h \
+- mup/ytab.h
+-
+-MUPDISP_SRC = \
+- mupdisp/at386.c \
+- mupdisp/do_cmd.c \
+- mupdisp/dos.c \
+- mupdisp/genfile.c \
+- mupdisp/init.c \
+- mupdisp/linvga.c \
+- mupdisp/mupdisp.c \
+- mupdisp/xterm.c
+-
+-MUPDISP_HDRS = mupdisp/dispttyp.h mupdisp/mupdisp.h
+-
+-MUPDISP_BITMAPS = mupdisp/help.bm mupdisp/waitmsg.bm
+-
+-MKMUPFNT_SRC = mkmupfnt/mkmupfnt.c
+-
+-MUPMATE_SRC = \
+- mupmate/Config.C \
+- mupmate/Edit.C \
+- mupmate/File.C \
+- mupmate/Help.C \
+- mupmate/Main.C \
+- mupmate/Preferences.C \
+- mupmate/Run.C \
+- mupmate/utils.C \
+- mupmate/license.C \
+- mupmate/regform.C \
+- mupmate/template.C
+-
+-MUPMATE_HDRS = \
+- mup/defines.h \
+- mupmate/Config.H \
+- mupmate/Edit.H \
+- mupmate/File.H \
+- mupmate/Help.H \
+- mupmate/Main.H \
+- mupmate/Preferences.H \
+- mupmate/Run.H \
+- mupmate/utils.H \
+- mupmate/globals.H \
+- mupmate/resource.h
+-
+-MUPMATE_OTHER_FILES = \
+- mupmate/mup32.xpm
+-#---------------------------------------------------------------
+-
+-all: mup/mup mupdisp/mupdisp mkmupfnt/mkmupfnt mupmate/mupmate
+-
+-mup/mup: $(MUP_HDRS) $(MUP_SRC)
+- $(CCOMPILER) $(CFLAGS) -o $@ $(MUP_SRC) -lm
+-
+-mupdisp/mupdisp: $(MUPDISP_HDRS) $(MUPDISP_BITMAPS) $(MUPDISP_SRC)
+- $(CCOMPILER) $(CFLAGS) -L$(X_LOCATION)/lib -o $@ -DNO_VGA_LIB $(MUPDISP_SRC) -lX11
+- # For Linux console mode support, comment out the previous line
+- # and uncomment the following line
+- # $(CCOMPILER) $(CFLAGS) -L$(X_LOCATION)/lib -o $@ $(MUPDISP_SRC) -lvga -lX11 -lm
+-
+-mkmupfnt/mkmupfnt: $(MKMUPFNT_SRC)
+- $(CCOMPILER) $(CFLAGS) -o $@ $(MKMUPFNT_SRC)
+-
+-mupmate/mupmate: $(MUPMATE_SRC) $(MUPMATE_HDRS) $(MUPMATE_OTHER_FILES)
+- $(CPPCOMPILER) $(CFLAGS) -o $@ $(MUPMATE_SRC) \
+- -I$(FLTK_INCLUDE) -Imup -L$(X_LOCATION)/lib \
+- $(FLTK_LIB_LOCATION) -lfltk -lfltk_images $(X_LIBS) \
+- -l$(JPEGLIB) -l$(PNGLIB) -l$(ZLIB) -lm
+-
+-install: all
+- mkdir -p $(BINDIR) $(MANDIR) $(DOCDIR)/uguide
+- cp mup/mup $(BINDIR)/mup
+- cp mkmupfnt/mkmupfnt $(BINDIR)/mkmupfnt
+- cp mupdisp/mupdisp $(BINDIR)/mupdisp
+- # For Linux console mode support, uncomment the following line
+- # chown root $(BINDIR)/mupdisp ; chmod 4755 $(BINDIR)/mupdisp
+- cp mupmate/mupmate $(BINDIR)/mupmate
+- cp mupprnt $(BINDIR)/mupprnt
+- cp docs/*.1 $(MANDIR)
+- cp docs/README* docs/*.txt docs/*.ps docs/*.mup $(DOCDIR)
+- cp docs/uguide/* $(DOCDIR)/uguide
+-
+-clean:
+- rm -f mup/*.o mupdisp/*.o mkmupfnt/*.o mupmate/*.o
+-
+-clobber: clean
+- rm -f mup/mup mupdisp/mupdisp mkmupfnt/mkmupfnt mupmate/mupmate
diff --git a/media-sound/mup/mup-5.6.ebuild b/media-sound/mup/mup-5.6.ebuild
new file mode 100644
index 000000000000..b1504e0c93fd
--- /dev/null
+++ b/media-sound/mup/mup-5.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mup/mup-5.6.ebuild,v 1.1 2010/05/05 18:27:22 tomjbe Exp $
+
+EAPI=2
+inherit eutils multilib 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"
+
+LICENSE="Arkkra"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/fltk:1.1
+ x11-libs/libXpm
+ media-libs/jpeg
+ media-libs/libpng"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-Makefile.patch
+ sed -i -e "s:/lib:/$(get_libdir):g" Makefile || die "sed failed"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" \
+ CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc docs/{*.txt,README0}
+ dohtml docs/{*.html,uguide/*}
+ docinto sample
+ dodoc docs/{*.mup,*.ps}
+}