openbsd-ports/audio/liba52/Makefile
ajacoutot 3359300d5a - Fix random crashes caused by invalid 32-bit shifts on 32-bit values (from upstream).
- Add to the pkg-config file the missing libm library for static linking

from Brad
2012-09-04 06:17:51 +00:00

36 lines
767 B
Makefile

# $OpenBSD: Makefile,v 1.19 2012/09/04 06:17:51 ajacoutot Exp $
COMMENT = free library for decoding ATSC A/52 streams, aka AC-3
V = 0.7.5
DISTNAME = a52dec-snapshot # 0.7.5-cvs
PKGNAME = liba52-${V}
REVISION = 0
CATEGORIES = audio
MASTER_SITES = http://comstyle.com/source/
SHARED_LIBS = a52 1.0
HOMEPAGE = http://liba52.sourceforge.net/
MAINTAINER = Marc Espie <espie@openbsd.org>
# GPLv2+
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
WANTLIB = c m ossaudio
WRKDIST = ${WRKDIR}/a52dec-${V}-cvs
USE_LIBTOOL = Yes
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoconf
AUTOCONF_VERSION = 2.59
CONFIGURE_ARGS += ${CONFIGURE_SHARED}
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/autotools
.include <bsd.port.mk>