58985cab1b
(I'll kill this redundancy soon), add some patches from pkgsrc. This really needs testing on other architectures/platforms so we can decide which patches from audio/mpg123 are actually needed. Also, I *think* I used the right arguments for madvise(), but I'm not 100% sure ... This is definitely faster and more robust than 0.59r; for instance, It can decode two simultaneous 128kbps stereo streams on a 486DX/133. I could always use help extending the sun audio module for NetBSD, too--though it seems to work well enough for starters.
25 lines
563 B
Makefile
25 lines
563 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/12/28 02:54:36 bsadewitz Exp $
|
|
#
|
|
|
|
PKGNAME= ${DISTNAME:C/[^[:alnum:]]*//}
|
|
COMMENT= MPEG layer 1, 2, and 3 audio player
|
|
|
|
PKGCONFIG_OVERRIDE+= libmpg123.pc.in
|
|
|
|
MPG123_SUBDIRS= src doc
|
|
MPG123_SUBDIRS.src= output libmpg123
|
|
|
|
MPG123_MODULE= dummy
|
|
MAKE_ENV+= MPG123_PROGRAM=mpg123
|
|
MAKE_ENV+= EXTRA_INSTALL_TARGETS="install-exec-am install-data-am"
|
|
|
|
MPG123_BUILDING_BASE= # defined
|
|
|
|
.include "options.mk"
|
|
|
|
.include "Makefile.common"
|
|
|
|
#post-extract:
|
|
# ${RUN} cp ${FILESDIR}/debug.c ${WRKSRC}/src/libmpg123
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|