pkgsrc-wip/mppdec/Makefile

40 lines
968 B
Makefile
Raw Normal View History

2007-01-21 10:45:01 +01:00
# $NetBSD: Makefile,v 1.9 2007/01/21 09:45:01 gschwarz Exp $
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
#
DISTNAME= mppdec-1.1
CATEGORIES= audio
MASTER_SITES= http://www.personal.uni-jena.de/~pfk/mpp/src/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
HOMEPAGE= http://www.personal.uni-jena.de/~pfk/mpp/
COMMENT= Musepack (MPC) audio file decoder
USE_TOOLS+= gmake
MAKE_ENV+= LIBOSSAUDIO=${LIBOSSAUDIO:Q}
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
2006-09-09 04:49:32 +02:00
# do nothing, MAKE_FILE is already set to "Makefile"
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
# not compiling? see TODO!
2007-01-21 10:45:01 +01:00
.elif ${OPSYS} == "SunOS"
2006-09-09 04:49:32 +02:00
MAKE_FILE= Makefile.sun
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
.else
2006-09-09 04:49:32 +02:00
MAKE_FILE= Makefile.nol
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
.endif
# see TODO
# .if ${MACHINE_ARCH} == "i386"
# BUILD_DEPENDS+= nasm>=0.0:../../devel/nasm
# .endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mppdec ${PREFIX}/bin/mppdec
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mppdec
${INSTALL_DATA} ${WRKSRC}/MANUAL.TXT ${PREFIX}/share/doc/mppdec
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
.include "../../mk/oss.buildlink3.mk"
Initial import of MPC (MusePack) decoder TODO: $Id$ I expect this not to build anywhere except my FreeBSD box. The code has a lot of portability defines anyway, so please help with patching it. Linux makefile uses -lesd unconditionally. Perhaps make USE_ESD_AUDIO configureable, currently it is turned off by default. HTTP support disabled unconditionally, doesn't compile on FreeBSD. nasm support would be definetley *worth* doing, currently disabled (nasm is not used in Makefile.nol; it is used in Makefile, but on the other hand, that Makefile has some other trouble). I am leaving out nasm for the sake of portability... and I need that decoder just to recode some MPC files to OGG or MP3, so why should I bother ;) do-install could perhaps install some extra files (is there a manpage in WRKSRC?) Basically, mppdec should use some other makefile (or some kind of configure script) to be more portable. Please help developing it, if you have skills to do such thing, e-mail author or at least MAINTAINER of this package with some code. -- mpasternak DESCR: MPC (MusePack) is a new format for compressing audio data, like mp3 or ogg. This package contains a MPC decoder, that allows you to listen or uncompress MPC audio data. Advantages of this decoder (from project's WWW page): * really fast! * direct support of Audio devices under UNIX, Solaris and Windows! * realtime support on Unix and POSIX 1.b * support of AMDs 3DNow! and Intels SSE * support of reading ID3 tags (version 1 and 1.1) * multiple files support * runs also on 16 and 64 bit CPUs, not only on 32 bit * needs less memory * 32 bit, dithering and noise shaping support, (explanation) * Microsoft WAVE, Apple AIFF and Raw PCM support
2004-04-19 17:46:14 +02:00
.include "../../mk/bsd.pkg.mk"