openbsd-ports/multimedia/x264/Makefile
sebastia e05e99aa77 build with gcc3 on sparc
OK landry@ sthen@
MAINTAINER OKed x264
2010-06-15 10:07:41 +00:00

45 lines
905 B
Makefile

# $OpenBSD: Makefile,v 1.11 2010/06/15 10:07:41 sebastia Exp $
COMMENT= free H264/AVC encoder
V= 20100511
DISTNAME= x264-snapshot-${V}-2245
PKGNAME= x264-${V}
CATEGORIES= multimedia
MASTER_SITES= ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= x264 4.0
HOMEPAGE= http://www.videolan.org/developers/x264.html
MAINTAINER= Brad Smith <brad@comstyle.com>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m pthread
MODULES= gcc3
MODGCC3_ARCHES= sparc
USE_GMAKE= Yes
CONFIGURE_STYLE= simple
CONFIGURE_ENV= API=${LIBx264_VERSION}
CONFIGURE_ARGS+=--disable-asm \
--disable-ffms-input \
--disable-lavf-input \
--disable-mp4-output \
--prefix=${PREFIX}
NO_REGRESS= Yes
.include <bsd.port.mk>
.if ${NO_SHARED_LIBS:L} == "no"
CONFIGURE_ARGS+=--enable-shared \
--enable-pic
.endif